We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1810d22 commit 7b02669Copy full SHA for 7b02669
.github/workflows/publish.yml
@@ -38,6 +38,8 @@ jobs:
38
39
- name: Setup Node.js
40
uses: actions/setup-node@v4
41
+ env:
42
+ NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
43
with:
44
node-version: '22'
45
# https://github.com/actions/setup-node/blob/main/docs/advanced-usage.md#caching-packages-dependencies
@@ -57,8 +59,6 @@ jobs:
57
59
- name: Publish packages (automatic on push)
58
60
if: github.event_name == 'push'
61
run: node scripts/publish.mjs --provenance
- env:
- NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
62
63
- name: Publish packages (manual trigger)
64
if: github.event_name == 'workflow_dispatch'
@@ -74,5 +74,3 @@ jobs:
74
ARGS="$ARGS --provenance"
75
fi
76
node scripts/publish.mjs $ARGS
77
78
0 commit comments