File tree Expand file tree Collapse file tree 2 files changed +47
-1
lines changed Expand file tree Collapse file tree 2 files changed +47
-1
lines changed Original file line number Diff line number Diff line change
1
+ name : angular-builders
2
+
3
+ on :
4
+ push :
5
+ branches :
6
+ - master
7
+ pull_request :
8
+
9
+ jobs :
10
+ build :
11
+ runs-on : ubuntu-18.04
12
+ strategy :
13
+ fail-fast : true
14
+
15
+ steps :
16
+ - uses : actions/checkout@v2
17
+
18
+ - uses : actions/cache@v1
19
+ id : node-modules
20
+ with :
21
+ path : |
22
+ node_modules
23
+ */*/node_modules
24
+ key : ${{ runner.os }}-node-modules
25
+ restore-keys : ${{ runner.os }}-node-modules
26
+
27
+ - uses : actions/setup-node@v1
28
+ with :
29
+ node-version : 12.12
30
+ registry-url : ' https://registry.npmjs.org'
31
+
32
+ - name : Install dependencies
33
+ run : yarn --non-interactive --no-progress
34
+
35
+ - name : Bootstrap packages
36
+ run : yarn bootstrap:packages
37
+
38
+ - name : Run CI scripts
39
+ run : yarn ci
40
+
41
+ # Note: this has to be commented until Travis is disabled completely.
42
+ # - name: deploy
43
+ # # Deploy only on the master branch.
44
+ # if: github.ref == 'refs/heads/master'
45
+ # env:
46
+ # NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
47
+ # run: bash scripts/default-registry.sh
Original file line number Diff line number Diff line change @@ -5,4 +5,3 @@ node_modules
5
5
yarn.lock
6
6
scripts /storage
7
7
scripts /htpasswd
8
-
You can’t perform that action at this time.
0 commit comments