We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d5441ce commit 0cda40bCopy full SHA for 0cda40b
1 file changed
.github/workflows/node.js.yml
@@ -24,11 +24,11 @@ jobs:
24
with:
25
node-version: 22
26
registry-url: 'https://registry.npmjs.org'
27
- env:
28
- NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
29
-
+
30
- name: Install dependencies (Yarn Berry)
31
run: yarn install --immutable
+ env:
+ NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
32
33
- name: Run tests (if test script exists)
34
run: yarn workspaces foreach --all --topological --parallel --no-private run test
@@ -63,3 +63,10 @@ jobs:
63
if: github.ref == 'refs/heads/main'
64
run: cd ./packages/main && npm publish --access public
65
66
67
+ - name: Configure Yarn authentication
68
+ run: |
69
+ echo 'npmRegistryServer: "https://registry.npmjs.org"' >> .yarnrc.yml
70
+ echo 'npmAlwaysAuth: true' >> .yarnrc.yml
71
+ echo 'npmAuthToken: "${{ secrets.NPM_TOKEN }}"' >> .yarnrc.yml
72
0 commit comments