Skip to content

fix(deps): update dependency tss-react to v4.9.14 #463

fix(deps): update dependency tss-react to v4.9.14

fix(deps): update dependency tss-react to v4.9.14 #463

Workflow file for this run

name: pull-request-main
on:
pull_request:
branches:
- main
types: [opened, edited, synchronize]
jobs:
label:
runs-on: ubuntu-latest
if: ${{github.event.action != 'synchronize'}}
steps:
- uses: bcoe/conventional-release-labels@v1
with:
type_labels: '{"feat": "feature", "fix": "fix", "breaking": "breaking","ci":"ci","docs":"docs"}'
build:
runs-on: ubuntu-latest
if: ${{github.event.action != 'edited'}}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
#- run: yarn test
- run: yarn
- run: yarn build
- uses: actions/upload-artifact@v3
with:
name: dist
path: dist
docker:
runs-on: ubuntu-latest
needs: build
if: contains(github.event.pull_request.labels.*.name, 'deploy')
steps:
- uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.sha }}
- uses: docker/setup-qemu-action@v3
- uses: docker/setup-buildx-action@v3
- uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- uses: actions/download-artifact@v3
with:
name: dist
path: dist
- name: Computing Docker image tags
id: step1
env:
COMMIT_SHA: ${{github.event.pull_request.head.sha}}
run: |
OUT=$GITHUB_REPOSITORY:pull-${COMMIT_SHA::8}
OUT=$(echo "$OUT" | awk '{print tolower($0)}')
echo "docker_tags=$OUT" >> "$GITHUB_OUTPUT"
- uses: docker/build-push-action@v5
with:
push: true
platforms: linux/amd64,linux/arm64
context: .
tags: ${{ steps.step1.outputs.docker_tags }}
file: Dockerfile