From a742733343de2f3c9c3f07573064f24897576143 Mon Sep 17 00:00:00 2001 From: uzmoi Date: Fri, 4 Oct 2024 18:50:42 +0900 Subject: [PATCH] =?UTF-8?q?publish-jsr=E3=81=A7=E3=82=82=E4=BE=9D=E5=AD=98?= =?UTF-8?q?=E9=96=A2=E4=BF=82=E3=82=92install=E3=81=99=E3=82=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/publish.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 0c0c0f3..a04a0a2 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -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 @@ -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