File tree 4 files changed +19
-61
lines changed
4 files changed +19
-61
lines changed Original file line number Diff line number Diff line change @@ -2,56 +2,14 @@ name: Publish release
2
2
on :
3
3
release :
4
4
types : [created]
5
- workflow_dispatch :
6
5
jobs :
7
- publish-jsr :
8
- name : Publish to JSR.io
9
- runs-on : ubuntu-latest
10
- permissions :
11
- contents : read
12
- id-token : write
13
- steps :
14
- - uses : actions/checkout@1e31de5234b9f8995739874a8ce0492dc87873e2 # v4
15
- - run : npm install -g jsr
16
- - run : jsr publish
17
- publish-npm :
18
- name : Publish to NPM
19
- runs-on : ubuntu-latest
20
- permissions :
21
- contents : read
22
- id-token : write
23
- steps :
24
- - uses : actions/checkout@1e31de5234b9f8995739874a8ce0492dc87873e2 # v4
25
- - uses : actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65 # v4
26
- with :
27
- node-version : 22
28
- registry-url : ' https://registry.npmjs.org'
29
- cache : npm
30
- - run : npm ci
31
- - run : npm run build
32
- - run : npm publish --provenance --access public
33
- env :
34
- NODE_AUTH_TOKEN : ${{ secrets.NPM_PUBLISH_TOKEN }}
35
- standalone :
36
- name : Upload files to GitHub Releases
37
- runs-on : ubuntu-latest
6
+ release-js :
7
+ name : " jsbt v0.3.0" # Should match commit below
8
+ uses : paulmillr/jsbt/.github/workflows/release.yml@973650a225c0344aa5f993a6cd63835a262077e9
9
+ with :
10
+ build-path : test/build
11
+ secrets :
12
+ NPM_PUBLISH_TOKEN : ${{ secrets.NPM_PUBLISH_TOKEN }}
38
13
permissions :
39
14
contents : write
40
15
id-token : write
41
- steps :
42
- - uses : actions/checkout@1e31de5234b9f8995739874a8ce0492dc87873e2 # v4
43
- - uses : actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65 # v4
44
- with :
45
- node-version : 22
46
- registry-url : ' https://registry.npmjs.org'
47
- cache : npm
48
- - run : npm ci
49
- - run : npm run build
50
- - run : |
51
- cd build
52
- npm ci
53
- npm run build:release
54
- cd ..
55
- - run : gh release upload ${{ github.event.release.tag_name }} build/`npx jsbt outfile`
56
- env :
57
- GH_TOKEN : ${{ github.token }}
Original file line number Diff line number Diff line change 4
4
- pull_request
5
5
jobs :
6
6
test-js :
7
- name : ' JS v0.2.2 ' # v0.2.2 == commit below
8
- uses : paulmillr/jsbt/.github/workflows/test-js.yml@986dbfea9667eeb0e81bf606cbe9ed169fea89b2
7
+ name : " jsbt v0.3.0 " # Should match commit below
8
+ uses : paulmillr/jsbt/.github/workflows/test-js.yml@973650a225c0344aa5f993a6cd63835a262077e9
Original file line number Diff line number Diff line change 51
51
"url" : " git+https://github.com/paulmillr/micro-packed.git"
52
52
},
53
53
"devDependencies" : {
54
- "@paulmillr/jsbt" : " 0.2.1 " ,
54
+ "@paulmillr/jsbt" : " 0.3.0 " ,
55
55
"fast-check" : " 3.0.0" ,
56
56
"micro-bmark" : " 0.3.1" ,
57
- "micro-should" : " 0.5.0 " ,
57
+ "micro-should" : " 0.5.1 " ,
58
58
"prettier" : " 3.3.2" ,
59
59
"typescript" : " 5.5.2"
60
60
},
You can’t perform that action at this time.
0 commit comments