diff --git a/.github/workflows/npm-publish.yml b/.github/workflows/npm-publish.yml index 0ed3218..4488014 100644 --- a/.github/workflows/npm-publish.yml +++ b/.github/workflows/npm-publish.yml @@ -12,6 +12,7 @@ jobs: - uses: actions/setup-node@v3 with: node-version: 16 + - run: npm install - run: npm ci - run: npm test @@ -27,7 +28,8 @@ jobs: with: node-version: 16 registry-url: https://npm.pkg.github.com/ + - run: npm install - run: npm ci - run: npm publish env: - NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}} + NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}