File tree Expand file tree Collapse file tree 2 files changed +50
-16
lines changed Expand file tree Collapse file tree 2 files changed +50
-16
lines changed Original file line number Diff line number Diff line change
1
+ name : Run PR Tests
2
+
3
+ on :
4
+ pull_request :
5
+
6
+ jobs :
7
+ build :
8
+ runs-on : ubuntu-latest
9
+
10
+ steps :
11
+ - uses : actions/checkout@v2
12
+
13
+ # We use `npm install` rather than `setup-purescript`
14
+
15
+ - name : Cache PureScript dependencies
16
+ uses : actions/cache@v2
17
+ with :
18
+ key : ${{ runner.os }}-spago-${{ hashFiles('**/*.dhall') }}
19
+ path : |
20
+ .spago
21
+ output
22
+
23
+ - name : Set up Node toolchain
24
+ uses : actions/setup-node@v1
25
+ with :
26
+ node-version : " 12.x"
27
+
28
+ - name : Cache NPM dependencies
29
+ uses : actions/cache@v2
30
+ env :
31
+ cache-name : cache-node-modules
32
+ with :
33
+ path : ~/.npm
34
+ key : ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package.json') }}
35
+ restore-keys : |
36
+ ${{ runner.os }}-build-${{ env.cache-name }}-
37
+ ${{ runner.os }}-build-
38
+ ${{ runner.os }}-
39
+
40
+ - name : Install NPM dependencies
41
+ run : npm install
42
+
43
+ - name : Test all makefile commands
44
+ run : make testAllCommands
45
+
46
+ - name : Check if readme was updated
47
+ run : diff README.md <(scripts/generateRecipeTable.sh)
48
+
49
+ - name : Run CI tests
50
+ run : make testAllCI
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments