Skip to content

Commit 421d47e

Browse files
committed
fix: ci releases
1 parent dd3700f commit 421d47e

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

.github/workflows/release.yml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: CI
1+
name: Release
22

33
on:
44
push:
@@ -20,13 +20,16 @@ jobs:
2020
check-test:
2121
name: "Check / Test"
2222
runs-on: ubuntu-latest
23+
container:
24+
image: ghcr.io/matrixai/github-runner
2325
steps:
2426
- uses: actions/checkout@v4
2527
- name: Run tests
2628
run: |
27-
npm install
29+
nix develop .#ci --command bash -c $'
2830
npm run prebuild --verbose
2931
npm test -- --ci --coverage
32+
'
3033
- uses: actions/upload-artifact@v4
3134
with:
3235
name: coverage-report
@@ -35,12 +38,15 @@ jobs:
3538
build-dist:
3639
name: "Build / Dist"
3740
runs-on: ubuntu-latest
41+
container:
42+
image: ghcr.io/matrixai/github-runner
3843
needs: [check-lint, check-test]
3944
steps:
4045
- uses: actions/checkout@v4
4146
- run: |
42-
npm install
47+
nix develop .#ci --command bash -c $'
4348
npm run build --ignore-scripts --verbose
49+
'
4450
- uses: actions/upload-artifact@v4
4551
with:
4652
name: dist

0 commit comments

Comments
 (0)