File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -9,35 +9,6 @@ permissions:
99 contents : read
1010
1111jobs :
12- verify-jsr :
13- runs-on : ubuntu-latest
14- steps :
15- - name : checkout
16- uses : actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
17- with :
18- submodules : true
19- persist-credentials : false
20-
21- - name : setup deno
22- uses : denoland/setup-deno@667a34cdef165d8d2b2e98dde39547c9daac7282 # v2.0.4
23- with :
24- deno-version : v2.x
25-
26- - name : build wasm
27- run : make
28-
29- - name : Get Version
30- id : vars
31- run : echo "version=$(echo "${GITHUB_REF_NAME}" | sed 's/^v//')" >> $GITHUB_OUTPUT
32-
33- - name : Build JSR
34- run : deno task build:jsr "${STEPS_VARS_OUTPUTS_VERSION}"
35- env :
36- STEPS_VARS_OUTPUTS_VERSION : ${{steps.vars.outputs.version}}
37-
38- - name : dry run publish
39- run : deno publish --dry-run --allow-dirty
40-
4112 verify-npm :
4213 runs-on : ubuntu-latest
4314 steps :
8253 path : ./build/npm
8354
8455 publish-npm :
85- needs : [verify-jsr, verify- npm]
56+ needs : [verify-npm]
8657 runs-on : ubuntu-latest
8758 permissions :
8859 contents : read
@@ -105,37 +76,3 @@ jobs:
10576 - name : Publish NPM
10677 run : npm publish --access=public --tag=latest
10778 working-directory : ./build/npm
108-
109- publish-jsr :
110- needs : [verify-jsr, verify-npm]
111- runs-on : ubuntu-latest
112- permissions :
113- contents : read
114- id-token : write
115-
116- steps :
117- - name : checkout
118- uses : actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
119- with :
120- submodules : true
121- persist-credentials : false
122-
123- - name : setup deno
124- uses : denoland/setup-deno@667a34cdef165d8d2b2e98dde39547c9daac7282 # v2.0.4
125- with :
126- deno-version : v2.x
127-
128- - name : build wasm
129- run : make
130-
131- - name : Get Version
132- id : vars
133- run : echo "version=$(echo "${GITHUB_REF_NAME}" | sed 's/^v//')" >> $GITHUB_OUTPUT
134-
135- - name : Build JSR
136- run : deno task build:jsr "${STEPS_VARS_OUTPUTS_VERSION}"
137- env :
138- STEPS_VARS_OUTPUTS_VERSION : ${{steps.vars.outputs.version}}
139-
140- - name : Publish JSR
141- run : deno publish --allow-dirty
Original file line number Diff line number Diff line change 8282 - name : test
8383 run : deno task test
8484
85- jsr :
86- needs : test
87- runs-on : ubuntu-latest
88- steps :
89- - name : checkout
90- uses : actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
91- with :
92- submodules : true
93- persist-credentials : false
94-
95- - name : setup deno
96- uses : denoland/setup-deno@667a34cdef165d8d2b2e98dde39547c9daac7282 # v2.0.4
97- with :
98- deno-version : v2.x
99-
100- - name : build wasm
101- run : make
102-
103- - name : Build JSR
104- run : deno task build:jsr 0.0.0-verify.0
105-
106- - name : dry run publish
107- run : deno publish --dry-run --allow-dirty
108-
10985 npm :
11086 needs : test
11187 runs-on : ubuntu-latest
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ It covers:
1010- building the local development artifacts, and
1111- verifying that the repo is ready for development.
1212
13- It does ** not** cover npm/JSR packaging or publishing.
13+ It does ** not** cover npm packaging or publishing.
1414
1515## What the local build produces
1616
@@ -290,7 +290,5 @@ This document is intentionally limited to local source builds for development.
290290Out of scope:
291291
292292- ` deno task build:npm `
293- - ` deno task build:jsr `
294293- ` npm publish `
295- - ` deno publish `
296294- release tagging and package publishing workflows
Original file line number Diff line number Diff line change 66 "fmt" : " deno fmt && clang-format -i src/*.c src/*.h" ,
77 "fmt:check" : " deno fmt --check && clang-format --dry-run --Werror src/*.c src/*.h" ,
88 "build:npm" : " deno run -A tasks/build-npm.ts" ,
9- "build:jsr" : " deno run -A tasks/build-jsr.ts" ,
109 "bench" : " deno run -A bench/mod.ts"
1110 },
1211 "imports" : {
2322 "." : " ./mod.ts" ,
2423 "./validate" : " ./validate.ts"
2524 },
26- "publish" : {
27- "include" : [" *.ts" ],
28- "exclude" : [" !wasm.ts" ]
29- },
3025 "nodeModulesDir" : " auto" ,
3126 "fmt" : {
3227 "exclude" : [" clay" , " build" ]
Load diff This file was deleted.
You can’t perform that action at this time.
0 commit comments