ci: use latest yarn in GitHub actions (#3001)
* Lock file maintenance * ci: use latest yarn in github actions Co-authored-by: Renovate Bot <renovatebot@gmail.com>
This commit is contained in:
parent
b27748b54f
commit
510b712af5
9
.github/workflows/nodejs.yml
vendored
9
.github/workflows/nodejs.yml
vendored
@ -30,6 +30,9 @@ jobs:
|
||||
key: ${{ runner.os }}-yarn-${{ hashFiles(format('{0}{1}', github.workspace, '/yarn.lock')) }}
|
||||
restore-keys: |
|
||||
${{ runner.os }}-yarn-
|
||||
- name: update yarn to latest version
|
||||
run: |
|
||||
sudo apt update && sudo apt install yarn
|
||||
- name: npm install, unit test and build
|
||||
run: |
|
||||
node --version
|
||||
@ -73,6 +76,9 @@ jobs:
|
||||
with:
|
||||
name: dev-test-website-node-10.x
|
||||
path: dev-test
|
||||
- name: update yarn to latest version
|
||||
run: |
|
||||
sudo apt update && sudo apt install yarn
|
||||
- name: npm install and e2e test
|
||||
run: |
|
||||
node --version
|
||||
@ -107,6 +113,9 @@ jobs:
|
||||
with:
|
||||
name: dev-test-website-node-10.x
|
||||
path: dev-test
|
||||
- name: update yarn to latest version
|
||||
run: |
|
||||
sudo apt update && sudo apt install yarn
|
||||
- name: npm install and e2e test
|
||||
run: |
|
||||
node --version
|
||||
|
Loading…
x
Reference in New Issue
Block a user