We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 898f957 commit 4945390Copy full SHA for 4945390
1 file changed
.github/workflows/publish.yml
@@ -17,21 +17,19 @@ jobs:
17
- name: Setup Bun
18
uses: oven-sh/setup-bun@v2
19
20
+ - name: Setup Node.js
21
+ uses: actions/setup-node@v4
22
+ with:
23
+ node-version: '20'
24
+ registry-url: 'https://registry.npmjs.org'
25
+
26
- name: Install dependencies
27
run: bun install
28
29
- name: Build
30
run: bun run build
31
- - name: Setup npm auth
- run: |
- cat > .npmrc << EOF
- //registry.npmjs.org/:_authToken=\${NPM_TOKEN}
- EOF
- env:
32
- NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
33
-
34
- name: Publish to npm
35
run: npm publish --access public
36
env:
37
+ NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
0 commit comments