Skip to content

chore: update changelog #411

chore: update changelog

chore: update changelog #411

Workflow file for this run

name: NPM Release
on:
pull_request:
types:
- closed
branches:
- develop
- main
jobs:
check:
runs-on: ubuntu-latest
outputs:
run: ${{ steps.checkSrc.outputs.run }}${{ steps.checkLabel.outputs.run }}
steps:
- uses: actions/checkout@v4
- uses: dorny/paths-filter@v3
id: changes
with:
filters: |
contracts:
- 'packages/contracts/**'
- '.github/workflows/contracts-deploy.yml'
- if: steps.changes.outputs.src == 'false'
id: checkSrc
run: echo "run=true" >> $GITHUB_OUTPUT
- if: contains(toJson(github.event.pull_request.labels.*.name), 'release:') && steps.checkSrc.outputs.run != true
id: checkLabel
run: echo "run=true" >> $GITHUB_OUTPUT
npmDeploy:
needs: ['check']
if: needs.check.outputs.run == true
uses: './.github/workflows/npm-release-reusable.yml'
secrets:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
ARABOT_PAT: ${{ secrets.ARABOT_PAT }}