update npm in CI

This commit is contained in:
lana-k
2021-07-03 19:55:47 +02:00
parent 418809d27d
commit 78cdb3809c
2 changed files with 7 additions and 0 deletions
+4
View File
@@ -15,6 +15,10 @@ jobs:
uses: actions/setup-node@v1
with:
node-version: 10.x
- name: Update npm
run: npm install -g npm@7
- name: npm install and build
run: |
npm install
+3
View File
@@ -24,6 +24,9 @@ jobs:
sudo apt-get update
sudo apt-get install -y chromium-browser firefox
- name: Update npm
run: npm install -g npm@7
- name: Install the project
run: npm install