ci: use Node 16 with caching for internal actions
This commit is contained in:
@@ -18,7 +18,9 @@ jobs:
|
|||||||
git config user.name "GitHub Actions"
|
git config user.name "GitHub Actions"
|
||||||
- uses: actions/setup-node@v3
|
- uses: actions/setup-node@v3
|
||||||
with:
|
with:
|
||||||
node-version: '12'
|
node-version: '16'
|
||||||
|
cache: 'npm'
|
||||||
|
cache-dependency-path: script/sync-ghes/package-lock.json
|
||||||
- name: Check starter workflows for GHES compat
|
- name: Check starter workflows for GHES compat
|
||||||
run: |
|
run: |
|
||||||
npm ci
|
npm ci
|
||||||
|
|||||||
@@ -14,7 +14,9 @@ jobs:
|
|||||||
|
|
||||||
- uses: actions/setup-node@v3
|
- uses: actions/setup-node@v3
|
||||||
with:
|
with:
|
||||||
node-version: "12"
|
node-version: '16'
|
||||||
|
cache: 'npm'
|
||||||
|
cache-dependency-path: script/validate-data/package-lock.json
|
||||||
|
|
||||||
- name: Validate workflows
|
- name: Validate workflows
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
Reference in New Issue
Block a user