CI: Maintenance, update checkout, setup-node and cache to v2 (#4813)

- Run on PRs
- Use v2 of checkout, setup-node and cache (for faster performance)
This commit is contained in:
Ewout ter Hoeven
2021-02-05 00:00:02 +01:00
committed by GitHub
parent e8b6f15ff5
commit 8d3d51314e
2 changed files with 11 additions and 17 deletions

View File

@@ -2,7 +2,6 @@
# SPDX-License-Identifier: AGPL-3.0-only
name: Snyk
on:
schedule:
- cron: '0 12 * * *'
@@ -15,8 +14,8 @@ jobs:
steps:
- run: lsb_release -a
- run: uname -a
- uses: actions/checkout@v1
- uses: actions/setup-node@v1
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: '12.18.3'
- run: npm install -g yarn@1.22.0