Upgrade github actions

This commit is contained in:
Fedor Indutny
2024-06-27 14:48:40 -07:00
committed by GitHub
parent 3ed63edbc8
commit 74b9903402
7 changed files with 65 additions and 57 deletions

View File

@@ -10,12 +10,15 @@ jobs:
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0 # fetch all history
- uses: actions/setup-node@v3
- name: Setup node.js
uses: actions/setup-node@v4
with:
node-version: '20.14.0'
node-version-file: '.nvmrc'
cache: 'npm'
cache-dependency-path: 'package-lock.json'
- run: npm install -g npm@10.2.5
- name: Cache danger node_modules
id: cache-desktop-modules