diff --git a/.github/workflows/npm-publish.yml b/.github/workflows/npm-publish.yml index c746136..f3cc038 100644 --- a/.github/workflows/npm-publish.yml +++ b/.github/workflows/npm-publish.yml @@ -16,9 +16,9 @@ jobs: - uses: actions/setup-node@v3 with: node-version: 16 - - run: npm lint - - run: npm build - - run: npm test + - run: npm run lint + - run: npm run build + - run: npm run test publish-npm: needs: build @@ -29,9 +29,7 @@ jobs: with: node-version: 16 registry-url: https://registry.npmjs.org/ - - run: npm lint - - run: npm build - - run: npm test + - run: npm run build - run: npm publish env: NODE_AUTH_TOKEN: ${{secrets.npm_token}}