File tree Expand file tree Collapse file tree 4 files changed +42
-9
lines changed
Expand file tree Collapse file tree 4 files changed +42
-9
lines changed Original file line number Diff line number Diff line change 77
88jobs :
99 build :
10- name : Build & Test
10+ name : Build
1111 runs-on : ubuntu-latest
1212 steps :
1313 - uses : actions/checkout@v4
1414 - uses : actions/setup-node@v4
1515 with :
16+ cache : yarn
1617 node-version-file : ' package.json'
1718 - name : Install
1819 run : yarn install
1920 - name : Lint
2021 run : yarn lint
2122 - name : Build
2223 run : yarn build
23- - name : Test
24+ - name : Upload Artifacts
25+ uses : actions/upload-artifact@v4
26+ with :
27+ name : ${{ github.sha }}
28+ path : ./packages/**/dist/**/*
29+
30+ test :
31+ name : Test Node.js v${{ matrix.version }}
32+ runs-on : ubuntu-latest
33+ needs : build
34+ strategy :
35+ fail-fast : false
36+ matrix :
37+ version : [18, 20, 22]
38+ steps :
39+ - uses : actions/checkout@v4
40+ - uses : actions/setup-node@v4
41+ with :
42+ cache : yarn
43+ node-version : ${{ matrix.version }}
44+ - name : Install
45+ run : yarn install
46+ - name : Download Artifacts
47+ uses : actions/download-artifact@v4
48+ with :
49+ path : ./packages
50+ merge-multiple : true
51+ - name : Run Unit Tests
2452 run : yarn test
Original file line number Diff line number Diff line change 1515 "@rollup/plugin-typescript" : " ^12.1.0" ,
1616 "@rspack/cli" : " ^1.0.8" ,
1717 "@rspack/core" : " ^1.0.8" ,
18- "@types/node" : " ^20 .0.0" ,
18+ "@types/node" : " ^18 .0.0" ,
1919 "esbuild" : " ^0.24.0" ,
2020 "parcel" : " ^2.12.0" ,
2121 "rolldown" : " ^0.13.2" ,
Original file line number Diff line number Diff line change 66 "debugids" : " ./cli.js"
77 },
88 "engines" : {
9- "node" : " >=14 "
9+ "node" : " >=18 "
1010 },
1111 "dependencies" : {
1212 "@debugids/common" : " 0.0.1"
Original file line number Diff line number Diff line change 16951695 dependencies :
16961696 undici-types "~6.19.2"
16971697
1698- " @types/node@^20 .0.0 " :
1699- version "20.16.10 "
1700- resolved "https://registry.yarnpkg.com/@types/node/-/node-20.16.10 .tgz#0cc3fdd3daf114a4776f54ba19726a01c907ef71 "
1701- integrity sha512-vQUKgWTjEIRFCvK6CyriPH3MZYiYlNy0fKiEYHWbcoWLEgs4opurGGKlebrTLqdSMIbXImH6XExNiIyNUv3WpA ==
1698+ " @types/node@^18 .0.0 " :
1699+ version "18.19.55 "
1700+ resolved "https://registry.yarnpkg.com/@types/node/-/node-18.19.55 .tgz#29c3f8e1485a92ec96636957ddec55aabc6e856e "
1701+ integrity sha512-zzw5Vw52205Zr/nmErSEkN5FLqXPuKX/k5d1D7RKHATGqU7y6YfX9QxZraUzUrFGqH6XzOzG196BC35ltJC4Cw ==
17021702 dependencies :
1703- undici-types "~6.19.2 "
1703+ undici-types "~5.26.4 "
17041704
17051705" @types/qs@* " :
17061706 version "6.9.16"
@@ -4629,6 +4629,11 @@ typescript@^5.6.2:
46294629 resolved "https://registry.yarnpkg.com/typescript/-/typescript-5.6.2.tgz#d1de67b6bef77c41823f822df8f0b3bcff60a5a0"
46304630 integrity sha512-NW8ByodCSNCwZeghjN3o+JX5OFH0Ojg6sadjEKY4huZ52TqbJTJnDo5+Tw98lSy63NZvi4n+ez5m2u5d4PkZyw==
46314631
4632+ undici-types@~5.26.4 :
4633+ version "5.26.5"
4634+ resolved "https://registry.yarnpkg.com/undici-types/-/undici-types-5.26.5.tgz#bcd539893d00b56e964fd2657a4866b221a65617"
4635+ integrity sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA==
4636+
46324637undici-types@~6.19.2 :
46334638 version "6.19.8"
46344639 resolved "https://registry.yarnpkg.com/undici-types/-/undici-types-6.19.8.tgz#35111c9d1437ab83a7cdc0abae2f26d88eda0a02"
You can’t perform that action at this time.
0 commit comments