diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 7681c62f..ad60a9d3 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -30,9 +30,8 @@ jobs: run: | echo npmAuthToken: "$NODE_AUTH_TOKEN" >> ./.yarnrc.yml env: - NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }} + NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} - name: Publish run: | yarn workspace megalodon npm publish - env: - NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} + diff --git a/.yarnrc.yml b/.yarnrc.yml index 9fce5aad..ab7f0ce9 100644 --- a/.yarnrc.yml +++ b/.yarnrc.yml @@ -1,2 +1,3 @@ yarnPath: .yarn/releases/yarn-3.8.0.cjs nodeLinker: node-modules +