Skip to content

Commit

Permalink
chore: enable node 18 for ci
Browse files Browse the repository at this point in the history
  • Loading branch information
antfu committed Aug 15, 2022
1 parent e6eb09a commit bc5d252
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ jobs:
- name: Set node
uses: actions/setup-node@v3
with:
node-version: 16.x
# cache: pnpm
node-version: 18.x
cache: pnpm

- name: Install
run: pnpm i
Expand All @@ -41,8 +41,8 @@ jobs:
- name: Set node
uses: actions/setup-node@v3
with:
node-version: 16.x
# cache: pnpm
node-version: 18.x
cache: pnpm

- name: Install
run: pnpm i
Expand All @@ -61,12 +61,12 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest]
node_version: [14, 16]
node_version: [14, 16, 18]
include:
- os: macos-latest
node_version: 16
node_version: 18
- os: windows-latest
node_version: 16
node_version: 18
fail-fast: false

steps:
Expand All @@ -79,7 +79,7 @@ jobs:
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node_version }}
# cache: pnpm
cache: pnpm

- name: Install
run: pnpm i
Expand All @@ -104,8 +104,8 @@ jobs:
- name: Set node
uses: actions/setup-node@v3
with:
node-version: 16.x
# cache: pnpm
node-version: 18.x
cache: pnpm

- name: Install
run: pnpm i
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:

- uses: actions/setup-node@v3
with:
node-version: 16.x
node-version: 18.x

- run: npx changelogithub
env:
Expand Down

0 comments on commit bc5d252

Please sign in to comment.