From 43a6da8e7933a1df5a668c78e8016fc43298a388 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michalina=20Ciencia=C5=82a?= Date: Tue, 4 Jan 2022 17:20:39 +0100 Subject: [PATCH] Add `dev` tag to the published npm package 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. --- .github/workflows/npm-v1.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/npm-v1.yml b/.github/workflows/npm-v1.yml index 05f213bf20..5314d11d3a 100644 --- a/.github/workflows/npm-v1.yml +++ b/.github/workflows/npm-v1.yml @@ -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: @@ -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