Skip to content

Commit ca3a8ef

Browse files
committed
Fix syntax in build workflow yml file
Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
1 parent a6237ff commit ca3a8ef

File tree

1 file changed

+16
-23
lines changed

1 file changed

+16
-23
lines changed

.github/workflows/ci-cd.yml

Lines changed: 16 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -18,37 +18,30 @@ jobs:
1818
runs-on: ${{ matrix.os }}
1919

2020
strategy:
21+
fail-fast: false
2122
matrix:
22-
os: [ubuntu-latest]
23-
node-version: [12.x]
23+
os: [ubuntu-18.04]
24+
node: [12]
2425

2526
steps:
26-
- name: Checkout
27+
- name: Checkout
2728
uses: actions/checkout@v2
2829
with:
2930
persist-credentials: false
3031

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 }}
4936

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
5245

5346
publish:
5447
needs: build

0 commit comments

Comments
 (0)