diff --git a/.github/workflows/github-packages.yml b/.github/workflows/github-packages.yml index 630f00b..59fa83b 100644 --- a/.github/workflows/github-packages.yml +++ b/.github/workflows/github-packages.yml @@ -16,7 +16,7 @@ jobs: with: node-version: 16 - run: npm install - - run: npm build + - run: npm run build publish-gpr: needs: build @@ -31,7 +31,7 @@ jobs: node-version: 16 registry-url: https://npm.pkg.github.com/ - run: npm install - - run: npm build + - run: npm run build - run: npm publish env: NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}} diff --git a/.github/workflows/npm-packages.yml b/.github/workflows/npm-packages.yml index 8415dc7..83a04c3 100644 --- a/.github/workflows/npm-packages.yml +++ b/.github/workflows/npm-packages.yml @@ -16,7 +16,7 @@ jobs: with: node-version: 16 - run: npm install - - run: npm build + - run: npm run build publish-npm: needs: build @@ -28,7 +28,7 @@ jobs: node-version: 16 registry-url: https://registry.npmjs.org/ - run: npm - - run: npm build + - run: npm run build - run: npm publish --access=public env: NODE_AUTH_TOKEN: ${{secrets.npm_token}}