Skip to content

Commit

Permalink
Add dev tag to the published npm package
Browse files Browse the repository at this point in the history
This change adds an additional environment tag for packages published
during `Publish package` step. This adds a convenient reference to the
latest version of the `@keep-core/solidity-v1` package for development
environment. We also add a new condition for trigerring `NPM v1`
workflow - from now on the workflow will be executed also after changes
to the workflow get merged to the `main` branch.
  • Loading branch information
michalinacienciala committed Jan 31, 2022
1 parent 224a8b6 commit 43a6da8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/npm-v1.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ on:
- 'solidity-v1/contracts/**'
- 'solidity-v1/package.json'
- 'solidity-v1/package-lock.json'
- '.github/workflows/npm-v1.yml'
workflow_dispatch:

jobs:
Expand Down Expand Up @@ -49,4 +50,4 @@ jobs:
- name: Publish package
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
run: npm publish --access public
run: npm publish --access=public --tag=development

0 comments on commit 43a6da8

Please sign in to comment.