CI: move away from Node.js v12

Github is deprecating it in Actions, and it's already past EOL
This commit is contained in:
larabr
2022-10-12 13:27:39 +02:00
committed by larabr
parent 5957bab2e2
commit 9a935ed559
6 changed files with 16 additions and 20 deletions

View File

@@ -11,17 +11,15 @@ jobs:
steps:
# check out pull request branch
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
path: pr
# check out main branch (to compare performance)
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
ref: main
path: main
- uses: actions/setup-node@v1
with:
node-version: '15'
- uses: actions/setup-node@v2
- name: Run pull request time benchmark
run: cd pr && npm install && npm run --silent benchmark-time > benchmarks.txt && cat benchmarks.txt