|
43 | 43 | uses: actions/setup-node@v4 |
44 | 44 | with: |
45 | 45 | node-version: "22" |
| 46 | + registry-url: "https://registry.npmjs.org" |
| 47 | + |
| 48 | + - name: Clear auth token for OIDC |
| 49 | + run: | |
| 50 | + # Remove the _authToken line so npm uses OIDC instead |
| 51 | + sed -i '/_authToken/d' ~/.npmrc |
| 52 | + cat ~/.npmrc |
46 | 53 |
|
47 | 54 | - name: Install dependencies |
48 | 55 | run: bun install --frozen-lockfile |
|
53 | 60 | - name: Verify charts package can be packed |
54 | 61 | run: cd packages/charts && npm pack --dry-run |
55 | 62 |
|
56 | | - - name: Debug npm config |
57 | | - run: | |
58 | | - echo "npm version: $(npm --version)" |
59 | | - echo "node version: $(node --version)" |
60 | | - npm config list |
61 | | - cat ~/.npmrc 2>/dev/null || echo "No ~/.npmrc" |
62 | | -
|
63 | 63 | - name: Publish @buildcanada/charts |
64 | 64 | run: cd packages/charts && npm publish --access public --provenance ${{ env.DRY_RUN }} |
65 | 65 |
|
|
82 | 82 | uses: actions/setup-node@v4 |
83 | 83 | with: |
84 | 84 | node-version: "22" |
| 85 | + registry-url: "https://registry.npmjs.org" |
| 86 | + |
| 87 | + - name: Clear auth token for OIDC |
| 88 | + run: | |
| 89 | + # Remove the _authToken line so npm uses OIDC instead |
| 90 | + sed -i '/_authToken/d' ~/.npmrc |
| 91 | + cat ~/.npmrc |
85 | 92 |
|
86 | 93 | - name: Install dependencies |
87 | 94 | run: bun install --frozen-lockfile |
|
92 | 99 | - name: Verify colours package can be packed |
93 | 100 | run: cd packages/colours && npm pack --dry-run |
94 | 101 |
|
95 | | - - name: Debug npm config |
96 | | - run: | |
97 | | - echo "npm version: $(npm --version)" |
98 | | - echo "node version: $(node --version)" |
99 | | - npm config list |
100 | | - cat ~/.npmrc 2>/dev/null || echo "No ~/.npmrc" |
101 | | -
|
102 | 102 | - name: Publish @buildcanada/colours |
103 | 103 | run: cd packages/colours && npm publish --access public --provenance ${{ env.DRY_RUN }} |
0 commit comments