File tree Expand file tree Collapse file tree 1 file changed +16
-23
lines changed Expand file tree Collapse file tree 1 file changed +16
-23
lines changed Original file line number Diff line number Diff line change @@ -18,37 +18,30 @@ jobs:
18
18
runs-on : ${{ matrix.os }}
19
19
20
20
strategy :
21
+ fail-fast : false
21
22
matrix :
22
- os : [ubuntu-latest ]
23
- node-version : [12.x ]
23
+ os : [ubuntu-18.04 ]
24
+ node : [12]
24
25
25
26
steps :
26
- - name : Checkout
27
+ - name : Checkout
27
28
uses : actions/checkout@v2
28
29
with :
29
30
persist-credentials : false
30
31
31
- - name : Use Node.js ${{ matrix.node-version }}
32
- uses : actions/setup-node@v1
33
- with :
34
- node-version : ${{ matrix.node-version }}
35
-
36
- - name : Get yarn cache directory path
37
- id : yarn-cache-dir-path
38
- run : echo "::set-output name=dir::$(yarn cache dir)"
39
-
40
- - name : Cache node_modules with yarn
41
- uses : actions/cache@v2
42
- id : yarn-cache # use this to check for `cache-hit` (`steps.yarn-cache.outputs.cache-hit != 'true'`)
43
- with :
44
- path : ${{ steps.yarn-cache-dir-path.outputs.dir }}
45
- key : ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
46
- restore-keys : |
47
- ${{ runner.os }}-yarn-
48
- - run : yarn build --frozen-lockfile
32
+ - name : Use Node.js ${{ matrix.node }}
33
+ uses : actions/setup-node@v1
34
+ with :
35
+ node-version : ${{ matrix.node }}
49
36
50
- env :
51
- CI : true
37
+ - name : Build
38
+ shell : bash
39
+ run : |
40
+ yarn install --no-lockfile
41
+ yarn build
42
+ env :
43
+ NODE_OPTIONS : " --max_old_space_size=4096"
44
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }} # https://github.com/microsoft/vscode-ripgrep/issues/9
52
45
53
46
publish :
54
47
needs : build
You can’t perform that action at this time.
0 commit comments