Update GitHub Actions action versions and Node version

This commit is contained in:
Dan Stillman 2023-04-07 01:41:28 -04:00
parent 5ad5598089
commit dcfce382d9

View file

@ -5,14 +5,14 @@ jobs:
name: Build, Upload, Test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
submodules: recursive
- name: Install Node
uses: actions/setup-node@v2
uses: actions/setup-node@v3
with:
node-version: 14
node-version: 18
#cache: npm
# On GitHub
@ -42,7 +42,7 @@ jobs:
- name: Cache Node modules
id: node-cache
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: node_modules
key: node-modules-${{ hashFiles('package-lock.json') }}
@ -76,7 +76,7 @@ jobs:
- name: Cache utilities Node modules
id: utilities-node-cache
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: chrome/content/zotero/xpcom/utilities/node_modules
key: utilities-node-modules-${{ hashFiles('chrome/content/zotero/xpcom/utilities/package-lock.json') }}