Skip to content

Commit

Permalink
chore: update ci node version
Browse files Browse the repository at this point in the history
  • Loading branch information
antfu committed May 2, 2024
1 parent ba1f7d2 commit 9699086
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
fetch-depth: 0
- uses: actions/setup-node@v4
with:
node-version: '18'
node-version: lts/*
registry-url: https://registry.npmjs.org/
- run: npm i -g @antfu/ni
- run: nci
Expand Down
7 changes: 3 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:

strategy:
matrix:
node-version: [16.x, 18.x]
node-version: [lts/*]
os: [ubuntu-latest, windows-latest, macos-latest]
# os: [ubuntu-latest, macos-latest]
fail-fast: false
Expand Down Expand Up @@ -57,10 +57,9 @@ jobs:
steps:
- uses: actions/checkout@v4

- name: Use Node.js 18.x
uses: actions/setup-node@v4
- uses: actions/setup-node@v4
with:
node-version: 18.x
node-version: lts/*

- name: Setup
run: npm i -g @antfu/ni
Expand Down

0 comments on commit 9699086

Please sign in to comment.