We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 744475d commit d721a4fCopy full SHA for d721a4f
.github/workflows/npm-publish.yml
@@ -7,12 +7,6 @@ on:
7
# Allows you to run this workflow manually from the Actions tab
8
workflow_dispatch:
9
10
-# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
11
-permissions:
12
- contents: read
13
- pages: write
14
- id-token: write
15
-
16
jobs:
17
deploy:
18
runs-on: ubuntu-latest
@@ -26,13 +20,6 @@ jobs:
26
20
cache: "npm"
27
21
- run: npm ci
28
22
- run: npm run build --if-present
29
- - run: |
30
- cp jsr.json jsr.json.old
31
- jq ".version = \"${TAG_NAME}\"" jsr.json.old > jsr.json
32
- rm jsr.json.old
33
- env:
34
- TAG_NAME: ${{ github.event.release.tag_name }}
35
- - run: npx jsr publish --allow-dirty --allow-slow-types
36
23
- run: npm version ${TAG_NAME} --git-tag-version=false
37
24
env:
38
25
TAG_NAME: ${{ github.event.release.tag_name }}
jsr.json
0 commit comments