Skip to content

Commit

Permalink
Fix npm build step
Browse files Browse the repository at this point in the history
  • Loading branch information
ndaidong committed Jun 23, 2024
1 parent 7e3b575 commit b57d4df
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Publish
name: publish

on:
push:
Expand All @@ -14,12 +14,15 @@ jobs:
steps:
- uses: actions/checkout@v4
- run: npx jsr publish
- uses: denoland/setup-deno@v1
with:
deno-version: 1.x
- name: npm build
run: deno task build
- uses: actions/setup-node@v4
with:
node-version: '20.x'
registry-url: 'https://registry.npmjs.org'
- name: npm build
run: deno task build
- name: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
Expand Down

0 comments on commit b57d4df

Please sign in to comment.