Skip to content

Commit

Permalink
ci: update
Browse files Browse the repository at this point in the history
  • Loading branch information
kuizuo committed Nov 17, 2023
1 parent 2236077 commit 4c0aeff
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 27 deletions.
29 changes: 5 additions & 24 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,33 +31,17 @@ jobs:

strategy:
matrix:
os: [ubuntu-latest]
node_version: [18, lts/*]
include:
- os: macos-latest
node_version: lts/*
- os: windows-latest
node_version: lts/*
os: [ubuntu-latest, windows-latest]
node: [18]
fail-fast: false

steps:
- name: Set git to use LF
run: |
git config --global core.autocrlf false
git config --global core.eol lf
- uses: actions/checkout@v3

- name: Install pnpm
uses: pnpm/action-setup@v2

- name: Set node ${{ matrix.node_version }}
- name: Set node ${{ matrix.node }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node_version }}
cache: pnpm

- run: corepack enable
node-version: ${{ matrix.node }}

- name: Setup
run: npm i -g @antfu/ni
Expand All @@ -66,7 +50,4 @@ jobs:
run: nci

- name: Build
run: nr website:build

- name: Test
run: nr test
run: nr website:build
3 changes: 0 additions & 3 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 4c0aeff

Please sign in to comment.