Skip to content

Commit

Permalink
🎉 exp: ci publish
Browse files Browse the repository at this point in the history
  • Loading branch information
SaltyAom committed Sep 5, 2024
1 parent 0b9a54f commit 47b1727
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,11 @@ jobs:
bun-version: latest
registry-url: "https://registry.npmjs.org"

- uses: actions/setup-node@v4
with:
node-version: '20.x'
registry-url: 'https://registry.npmjs.org'

- name: Install packages
run: bun install

Expand All @@ -54,8 +59,10 @@ jobs:
- name: Test
run: bun run test

- run: npm ci

- name: 'Publish'
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
run: |
npm publish --access=public
npm publish --provenance --access=public

0 comments on commit 47b1727

Please sign in to comment.