Skip to content

Commit 9999e86

Browse files
committed
feat(GitHubCI): add job v14
1 parent 6e772ff commit 9999e86

File tree

1 file changed

+34
-0
lines changed

1 file changed

+34
-0
lines changed

.github/workflows/CI.yml

+34
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,40 @@ jobs:
1313
name: repo
1414
path: ${{ github.workspace }}
1515

16+
v14:
17+
runs-on: ubuntu-22.04
18+
needs: checkout_code
19+
container:
20+
image: "node:14-buster"
21+
steps:
22+
- name: Install sudo
23+
run: |
24+
apt update
25+
apt install -y sudo
26+
- name: Setup file system permissions
27+
run: sudo chmod -R 777 $GITHUB_WORKSPACE /github /__w/_temp
28+
- name: Get repository's content
29+
uses: actions/download-artifact@v3
30+
with:
31+
name: repo
32+
- uses: actions/cache@v3
33+
with:
34+
path: node_modules
35+
key: v1-dependencies-${{ hashFiles('**/yarn.lock') }}
36+
restore-keys: |
37+
v1-dependencies-${{ hashFiles('**/yarn.lock') }}
38+
v1-dependencies-
39+
- name: Update yarn
40+
run: |
41+
node -v
42+
yarn global add yarn@latest
43+
- name: Install dependencies
44+
run: yarn install --ignore-engines --frozen-lockfile
45+
- name: Build packages
46+
run: yarn build
47+
- name: Test
48+
run: yarn test-ci
49+
1650
v16:
1751
runs-on: ubuntu-22.04
1852
needs: checkout_code

0 commit comments

Comments
 (0)