File tree 2 files changed +53
-15
lines changed
2 files changed +53
-15
lines changed Original file line number Diff line number Diff line change
1
+ name : CI
2
+
3
+ on :
4
+ push :
5
+ branches : [main]
6
+ pull_request :
7
+ branches : [main]
8
+
9
+ jobs :
10
+ build :
11
+ runs-on : ubuntu-latest
12
+
13
+ steps :
14
+ - uses : actions/checkout@v2
15
+
16
+ - name : Set up PureScript toolchain
17
+ uses : purescript-contrib/setup-purescript@main
18
+ with :
19
+ purescript : " 0.14.0"
20
+
21
+ - name : Cache PureScript dependencies
22
+ uses : actions/cache@v2
23
+ with :
24
+ key : ${{ runner.os }}-spago-${{ hashFiles('**/*.dhall') }}
25
+ path : |
26
+ .spago
27
+ output
28
+
29
+ - name : Set up Node toolchain
30
+ uses : actions/setup-node@v2
31
+ with :
32
+ node-version : " 14.x"
33
+
34
+ - name : Cache NPM dependencies
35
+ uses : actions/cache@v2
36
+ env :
37
+ cache-name : cache-node-modules
38
+ with :
39
+ path : ~/.npm
40
+ key : ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package.json') }}
41
+ restore-keys : |
42
+ ${{ runner.os }}-build-${{ env.cache-name }}-
43
+ ${{ runner.os }}-build-
44
+ ${{ runner.os }}-
45
+
46
+ - name : Install NPM dependencies
47
+ run : npm install
48
+
49
+ - name : Install spago deps
50
+ run : npm run deps
51
+
52
+ - name : Build the project
53
+ run : npm run build
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments