File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2,12 +2,17 @@ name: Release
22
33on :
44 workflow_dispatch :
5+ push :
6+ branches :
7+ - 09-17-chore_default_read_permissions
58
69permissions : {}
710
811jobs :
912 build-rust :
1013 runs-on : ubuntu-latest
14+ permissions :
15+ contents : read
1116 strategy :
1217 fail-fast : false
1318 matrix :
@@ -121,7 +126,7 @@ jobs:
121126 sed -i 's/"version": "0.0.0"/"version": "0.0.0-${{ github.sha }}"/' packages/cli/package.json
122127
123128 # Setup node correctly for publishing to github registry
124- - uses : actions/setup-node@v5
129+ - uses : actions/setup-node@a0853c24544627f65ddf259abe73b1d18a591444 # v5.0.0
125130 with :
126131 node-version-file : .node-version
127132 registry-url : " https://npm.pkg.github.com"
Original file line number Diff line number Diff line change 99 "copy-bindings" : " cp -r ./packages/cli/binding/*.node ./packages/cli/dist && cp -r ./packages/cli/binding/*.node ./packages/global/dist" ,
1010 "install-global-cli" : " npm install -g ./packages/global" ,
1111 "typecheck" : " tsc -b tsconfig.json" ,
12- "lint" : " vite lint && vite run typecheck" ,
12+ "lint" : " vite lint --type-aware && vite run typecheck" ,
1313 "test" : " vite test && pnpm -r snap-test" ,
1414 "prepare" : " husky"
1515 },
Original file line number Diff line number Diff line change 2222 "snap-test" : " snap-test"
2323 },
2424 "dependencies" : {
25+ "@voidzero-dev/vite-plus" : " workspace:*" ,
2526 "oxlint" : " catalog:" ,
2627 "rolldown-vite" : " catalog:" ,
2728 "vitest" : " catalog:"
2829 },
2930 "devDependencies" : {
30- "@voidzero-dev/vite-plus" : " workspace:*" ,
3131 "@voidzero-dev/vite-plus-tools" : " workspace:" ,
3232 "rolldown" : " catalog:"
3333 },
You can’t perform that action at this time.
0 commit comments