@@ -3,18 +3,18 @@ name: WASPC-CI
3
3
on :
4
4
push :
5
5
paths :
6
- - ' waspc/**'
6
+ - " waspc/**"
7
7
branches :
8
8
- main
9
9
- release
10
10
pull_request :
11
11
paths :
12
- - ' waspc/**'
12
+ - " waspc/**"
13
13
create : { tags: [v*] }
14
14
schedule :
15
15
# Additionally run once per week (At 00:00 on Sunday) to avoid loosing cache
16
16
# (GH deletes it after 7 days of not using it).
17
- - cron : ' 0 0 * * 0'
17
+ - cron : " 0 0 * * 0"
18
18
19
19
env :
20
20
WASP_TELEMETRY_DISABLE : 1
@@ -47,28 +47,29 @@ jobs:
47
47
# We can return to `ubuntu-latest` when enough time has elapsed.
48
48
# Still looking into musl static binaries.
49
49
# Ref: https://github.com/wasp-lang/wasp/issues/650
50
- - ubuntu-20.04
50
+ - ubuntu-22.04
51
+ - ubuntu-22.04-arm
51
52
- macos-latest
52
53
- windows-latest
53
54
node-version :
54
- - ' latest'
55
+ - " latest"
55
56
ghc :
56
- - ' 8.10.7'
57
+ - " 8.10.7"
57
58
cabal :
58
- - ' 3.6.2.0'
59
+ - " 3.6.2.0"
59
60
# In addition to the default matrix, we also want to run the build job for
60
61
# additional Node.js versions, to make sure that Wasp works with them.
61
62
# To reduce the number of jobs, we only test the Node.js versions on
62
63
# Ubuntu 20.04.
63
64
include :
64
65
- os : ubuntu-20.04
65
66
node-version : 18
66
- ghc : ' 8.10.7'
67
- cabal : ' 3.6.2.0'
67
+ ghc : " 8.10.7"
68
+ cabal : " 3.6.2.0"
68
69
- os : ubuntu-20.04
69
70
node-version : 20
70
- ghc : ' 8.10.7'
71
- cabal : ' 3.6.2.0'
71
+ ghc : " 8.10.7"
72
+ cabal : " 3.6.2.0"
72
73
73
74
steps :
74
75
- name : Configure git
80
81
git config --global core.autocrlf input
81
82
git config --global core.eol lf
82
83
83
- - uses : ' actions/checkout@v3'
84
+ - uses : " actions/checkout@v3"
84
85
with :
85
86
# Workaround for a Github Checkout action bug
86
87
# https://github.com/actions/checkout/issues/1359#issuecomment-1567902034
@@ -209,7 +210,7 @@ jobs:
209
210
npm ci
210
211
# Runs the tests with the debug flag so that we can see Wasp output
211
212
DEBUG=pw:webserver npx playwright test
212
-
213
+
213
214
- name : Run e2e tests
214
215
run : cabal test e2e-test
215
216
@@ -226,7 +227,7 @@ jobs:
226
227
with :
227
228
draft : true
228
229
allowUpdates : true
229
- artifacts : ' waspc/artifacts/*'
230
+ artifacts : " waspc/artifacts/*"
230
231
artifactErrorsFailBuild : true
231
232
replacesArtifacts : true
232
233
token : ${{ secrets.GITHUB_TOKEN }}
0 commit comments