Skip to content
Merged
Prev Previous commit
Next Next commit
Specify Node 20 in workflows and examples
  • Loading branch information
joshmgross committed Oct 11, 2023
commit 47bc917394a206be7aca25db42bbd5892233904b
5 changes: 2 additions & 3 deletions .github/workflows/check-dist.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down