Skip to content

Commit 072ed49

Browse files
authored
only configure the npm registry right before publishing (#191)
1 parent 6f81297 commit 072ed49

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

.github/workflows/build.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,5 @@ jobs:
1616
- uses: actions/setup-node@v7
1717
with:
1818
node-version: 24
19-
registry-url: https://registry.npmjs.org/
2019
- run: yarn install
2120
- run: yarn build

.github/workflows/release.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,13 +25,16 @@ jobs:
2525
- uses: actions/setup-node@v7
2626
with:
2727
node-version: 24
28-
registry-url: https://registry.npmjs.org/
2928
- run: yarn install
3029
- run: yarn zx ./release.mjs -v $VERSION_TO_BUMP
3130
env:
3231
VERSION_TO_BUMP: ${{ inputs.versionToBump }}
3332
GH_TOKEN: ${{ github.token }}
3433
- run: yarn build
34+
- uses: actions/setup-node@v7
35+
with:
36+
node-version: 24
37+
registry-url: https://registry.npmjs.org/
3538
- run: yarn publish
3639
env:
3740
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}

0 commit comments

Comments
 (0)