mirror of
https://github.com/actions/github-script.git
synced 2026-02-07 19:47:26 +00:00
Specify Node 20 in workflows and examples
This commit is contained in:
parent
84ab08fe8b
commit
47bc917394
3 changed files with 4 additions and 5 deletions
5
.github/workflows/check-dist.yml
vendored
5
.github/workflows/check-dist.yml
vendored
|
|
@ -20,10 +20,9 @@ jobs:
|
|||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
|
||||
- name: Set Node.js 16.x
|
||||
uses: actions/setup-node@v3
|
||||
- uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: 16.x
|
||||
node-version: '20.x'
|
||||
cache: npm
|
||||
|
||||
- name: Install dependencies
|
||||
|
|
|
|||
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
|
|
@ -13,7 +13,7 @@ jobs:
|
|||
- uses: actions/checkout@v3
|
||||
- uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: 16
|
||||
node-version: '20.x'
|
||||
cache: npm
|
||||
- run: npm ci
|
||||
- run: npm run style:check
|
||||
|
|
|
|||
|
|
@ -382,7 +382,7 @@ jobs:
|
|||
- uses: actions/checkout@v3
|
||||
- uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: 16
|
||||
node-version: '20.x'
|
||||
- run: npm ci
|
||||
# or one-off:
|
||||
- run: npm install execa
|
||||
|
|
|
|||
Loading…
Reference in a new issue