refactor: added reinitializer and storage gap to PluginRepo
and moved events to IPluginRepo
#419
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 }} |