Skip to content

Commit

Permalink
chore: update ci
Browse files Browse the repository at this point in the history
  • Loading branch information
antfu committed Oct 28, 2024
1 parent 930daa9 commit 200c74c
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 20 deletions.
16 changes: 5 additions & 11 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,19 +13,13 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set node
uses: actions/setup-node@v4
- uses: actions/setup-node@v4
with:
node-version: lts/*

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

- name: Install
run: nci

- name: Lint
run: nr lint
- run: corepack enable
- run: npm i -g @antfu/ni
- run: nci
- run: nr lint

ci:
runs-on: ${{ matrix.os }}
Expand Down
9 changes: 3 additions & 6 deletions .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,9 @@ jobs:
uses: actions/setup-node@v4
with:
node-version: lts/*

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

- name: Install
run: nci
- run: corepack enable
- run: npm i -g @antfu/ni
- run: nci

- name: Build unplugin
run: nr build
Expand Down
4 changes: 1 addition & 3 deletions .github/workflows/publish-commit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,7 @@ jobs:
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v4

- uses: actions/checkout@v4
- run: corepack enable
- uses: actions/setup-node@v4
with:
Expand Down

0 comments on commit 200c74c

Please sign in to comment.