File tree Expand file tree Collapse file tree 5 files changed +22
-13
lines changed
Expand file tree Collapse file tree 5 files changed +22
-13
lines changed Original file line number Diff line number Diff line change 66 dry-run :
77 description : ' Run in dry-run mode (no actual publishing)'
88 required : false
9- default : true
9+ default : false
1010 type : boolean
1111 npm-tag :
1212 description : ' NPM tag for publishing'
2727 name : Build
2828 uses : rspack-contrib/rspack-toolchain/.github/workflows/build.yml@main
2929 with :
30- napi-build-command : pnpm build
30+ napi-build-command : pnpm build --release
3131
3232 test :
3333 name : Test
Original file line number Diff line number Diff line change 66jobs :
77 test :
88 runs-on : ${{ matrix.os }}
9- name : Node Test ( ${{ matrix.os }})
9+ name : test Node.js - ${{ matrix.os }}
1010
1111 strategy :
1212 fail-fast : false
1313 matrix :
1414 include :
15- # - os: ubuntu-latest
16- # target: x86_64-unknown-linux-gnu
15+ - os : ubuntu-latest
16+ target : x86_64-unknown-linux-gnu
1717 - os : macos-latest
1818 target : aarch64-apple-darwin
19- # - os: windows-latest
20- # target: x86_64-pc-windows-msvc
19+ - os : windows-latest
20+ target : x86_64-pc-windows-msvc
2121
2222 steps :
2323 - name : Checkout code
Original file line number Diff line number Diff line change 11{
22 "name" : " @rspack-template/binding" ,
3- "version" : " 0.0.0-canary.0 " ,
3+ "version" : " 0.0.0-canary.1 " ,
44 "homepage" : " https://github.com/rspack-contrib/rspack-binding-template" ,
55 "bugs" : {
66 "url" : " https://github.com/rspack-contrib/rspack-binding-template/issues"
3434 "binaryName" : " binding" ,
3535 "targets" : [
3636 " x86_64-apple-darwin" ,
37- " aarch64-apple-darwin"
37+ " x86_64-pc-windows-msvc" ,
38+ " x86_64-unknown-linux-gnu" ,
39+ " x86_64-unknown-linux-musl" ,
40+ " i686-pc-windows-msvc" ,
41+ " aarch64-unknown-linux-gnu" ,
42+ " aarch64-apple-darwin" ,
43+ " aarch64-unknown-linux-musl" ,
44+ " aarch64-pc-windows-msvc" ,
45+ " armv7-linux-androideabi" ,
46+ " armv7-unknown-linux-gnueabihf" ,
47+ " aarch64-linux-android"
3848 ]
3949 }
4050}
Original file line number Diff line number Diff line change 1- process . env . RSPACK_BINDING = require ( 'node:path' ) . join (
2- __dirname ,
3- '../node_modules/@rspack-template/binding'
1+ process . env . RSPACK_BINDING = require ( 'node:path' ) . dirname (
2+ require . resolve ( '@rspack-template/binding' )
43) ;
54
65const binding = require ( '@rspack-template/binding' ) ;
Original file line number Diff line number Diff line change 11{
22 "name" : " @rspack-template/core" ,
3- "version" : " 0.0.0-canary.0 " ,
3+ "version" : " 0.0.0-canary.1 " ,
44 "homepage" : " https://github.com/rspack-contrib/rspack-binding-template" ,
55 "bugs" : {
66 "url" : " https://github.com/rspack-contrib/rspack-binding-template/issues"
You can’t perform that action at this time.
0 commit comments