add caching and use node16

pull/861/head
Mikael Finstad 2021-11-14 20:55:12 +07:00
rodzic d3a52439d0
commit ad2d247998
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 25AB36E3E81CBC26
2 zmienionych plików z 4 dodań i 2 usunięć

Wyświetl plik

@ -31,7 +31,8 @@ jobs:
- name: Install Node.js, NPM and Yarn
uses: actions/setup-node@v2
with:
node-version: 14
node-version: 16
cache: 'yarn'
# Because of timeout issue https://github.com/yarnpkg/yarn/issues/4890
- run: yarn install --network-timeout 1000000

Wyświetl plik

@ -11,7 +11,8 @@ jobs:
- uses: actions/setup-node@v2
with:
node-version: 14
node-version: 16
cache: 'yarn'
- run: yarn
- run: npm run lint