Skip to content

Commit

Permalink
token check
Browse files Browse the repository at this point in the history
  • Loading branch information
benceharomi committed Aug 28, 2024
1 parent 9a257c1 commit 8c2ed5d
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/publish-package.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
name: Publish Package
on:
release:
types: [published]
on: [pull_request]
jobs:
build:
runs-on: ubuntu-latest
Expand All @@ -13,6 +11,6 @@ jobs:
registry-url: 'https://registry.npmjs.org'
scope: '@matterlabs'
- run: yarn
- run: yarn publish --tag ${{ github.event.release.tag_name }} --access public
- run: echo "yarn publish --tag github.event.release.tag_name --access public"
env:
NODE_AUTH_TOKEN: ${{ secrets.NPMJS_NPM_MATTERLABS_AUTOMATION_TOKEN }}

0 comments on commit 8c2ed5d

Please sign in to comment.