Skip to content

Commit bc03c58

Browse files
committedJul 13, 2024··
chore: update ci
1 parent e0816f8 commit bc03c58

File tree

5 files changed

+10
-12
lines changed

5 files changed

+10
-12
lines changed
 

‎.github/workflows/release.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,13 @@ jobs:
99
release:
1010
runs-on: ubuntu-latest
1111
steps:
12-
- uses: actions/checkout@v3
12+
- uses: actions/checkout@v4
1313
with:
1414
fetch-depth: 0
1515

16-
- uses: actions/setup-node@v3
16+
- uses: actions/setup-node@v4
1717
with:
18-
node-version: 16.x
18+
node-version: lts/*
1919

2020
- run: npx changelogithub
2121
env:

‎.github/workflows/test.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,14 @@ jobs:
1515

1616
strategy:
1717
matrix:
18-
node-version: [16.x, 18.x]
18+
node-version: [18.x, lts/*]
1919

2020
steps:
21-
- uses: actions/checkout@v3
21+
- uses: actions/checkout@v4
2222
- name: Install pnpm
23-
uses: pnpm/action-setup@v2
23+
uses: pnpm/action-setup@v4
2424
- name: Use Node.js ${{ matrix.node-version }}
25-
uses: actions/setup-node@v3
25+
uses: actions/setup-node@v4
2626
with:
2727
node-version: ${{ matrix.node-version }}
2828
- name: Install

‎README.md

-2
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,8 @@ npm i -g @antfu/ni
1212

1313
<a href='https://docs.npmjs.com/cli/v6/commands/npm'>npm</a> · <a href='https://yarnpkg.com'>yarn</a> · <a href='https://pnpm.io/'>pnpm</a> · <a href='https://bun.sh/'>bun</a>
1414

15-
1615
<br>
1716

18-
1917
### `ni` - install
2018

2119
```bash

‎src/commands/nr.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ runCli(async (agent, args, ctx) => {
8282
return
8383
args.push(fn)
8484
}
85-
catch (e) {
85+
catch {
8686
process.exit(1)
8787
}
8888
}

‎taze.config.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@ import { defineConfig } from 'taze'
22

33
export default defineConfig({
44
ignorePaths: [
5-
'test/fixtures'
6-
]
5+
'test/fixtures',
6+
],
77
})

0 commit comments

Comments
 (0)
Please sign in to comment.