File tree Expand file tree Collapse file tree 1 file changed +9
-3
lines changed Expand file tree Collapse file tree 1 file changed +9
-3
lines changed Original file line number Diff line number Diff line change 1
- name : CI
1
+ name : Release
2
2
3
3
on :
4
4
push :
@@ -20,13 +20,16 @@ jobs:
20
20
check-test :
21
21
name : " Check / Test"
22
22
runs-on : ubuntu-latest
23
+ container :
24
+ image : ghcr.io/matrixai/github-runner
23
25
steps :
24
26
- uses : actions/checkout@v4
25
27
- name : Run tests
26
28
run : |
27
- npm install
29
+ nix develop .#ci --command bash -c $'
28
30
npm run prebuild --verbose
29
31
npm test -- --ci --coverage
32
+ '
30
33
- uses : actions/upload-artifact@v4
31
34
with :
32
35
name : coverage-report
@@ -35,12 +38,15 @@ jobs:
35
38
build-dist :
36
39
name : " Build / Dist"
37
40
runs-on : ubuntu-latest
41
+ container :
42
+ image : ghcr.io/matrixai/github-runner
38
43
needs : [check-lint, check-test]
39
44
steps :
40
45
- uses : actions/checkout@v4
41
46
- run : |
42
- npm install
47
+ nix develop .#ci --command bash -c $'
43
48
npm run build --ignore-scripts --verbose
49
+ '
44
50
- uses : actions/upload-artifact@v4
45
51
with :
46
52
name : dist
You can’t perform that action at this time.
0 commit comments