Skip to content

Commit

Permalink
publish-jsrでも依存関係をinstallする
Browse files Browse the repository at this point in the history
  • Loading branch information
uzmoi committed Oct 4, 2024
1 parent 2a1b517 commit a742733
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
with:
node-version: 20
cache: npm
registry-url: https://registry.npmjs.org

Expand All @@ -36,8 +35,13 @@ jobs:
id-token: write
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
with:
cache: npm

- name: Check version
run: jq -e '.version as $v | "${{ github.ref }}" | endswith("/v" + $v)' jsr.json

- run: npm ci

- run: npx jsr publish

0 comments on commit a742733

Please sign in to comment.