From 8c2ed5d437eb77858c65793999c71802dc338632 Mon Sep 17 00:00:00 2001 From: Bence Haromi Date: Wed, 28 Aug 2024 15:26:49 +0100 Subject: [PATCH] token check --- .github/workflows/publish-package.yaml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/publish-package.yaml b/.github/workflows/publish-package.yaml index 5f8cda0..4eb0fba 100644 --- a/.github/workflows/publish-package.yaml +++ b/.github/workflows/publish-package.yaml @@ -1,7 +1,5 @@ name: Publish Package -on: - release: - types: [published] +on: [pull_request] jobs: build: runs-on: ubuntu-latest @@ -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 }} \ No newline at end of file