Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 4fe6443

Browse files
ci: change node-version (#213)
1 parent 0ac2d47 commit 4fe6443

File tree

3 files changed

+8
-7
lines changed

3 files changed

+8
-7
lines changed

‎.github/workflows/docsify-cli.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,13 @@ jobs:
1313
strategy:
1414
matrix:
1515
os: [ macos-latest, ubuntu-latest, windows-latest ]
16-
node-version: [ 14.x, 16.x, lts/* ]
16+
node-version: [ 'lts/*' ]
17+
fail-fast: false
1718

1819
steps:
19-
- uses: actions/checkout@v3
20+
- uses: actions/checkout@v4
2021
- name: Use Node.js ${{ matrix.node-version }}
21-
uses: actions/setup-node@v3
22+
uses: actions/setup-node@v4
2223
with:
2324
node-version: ${{ matrix.node-version }}
2425

‎e2e/commands/generate.test.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,14 @@ const docsPath = path.join(genPath, 'docs')
1010
test.before('create temp directory', () => {
1111
// Cleanup if the directory already exists
1212
if (fs.existsSync(genPath)) {
13-
fs.rmdirSync(genPath, {recursive: true})
13+
fs.rmSync(genPath, {recursive: true})
1414
}
1515

1616
fs.mkdirSync(genPath)
1717
})
1818

1919
test.after('cleanup', () => {
20-
fs.rmdirSync(genPath, {recursive: true})
20+
fs.rmSync(genPath, {recursive: true})
2121
})
2222

2323
test('generate _sidebar.md', t => {

‎e2e/commands/init.test.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,14 @@ const docsPath = path.join(genPath, 'docs')
1111
test.before('create temp directory', () => {
1212
// Cleanup if the directory already exists
1313
if (fs.existsSync(genPath)) {
14-
fs.rmdirSync(genPath, {recursive: true})
14+
fs.rmSync(genPath, {recursive: true})
1515
}
1616

1717
fs.mkdirSync(genPath)
1818
})
1919

2020
test.after('cleanup', () => {
21-
fs.rmdirSync(genPath, {recursive: true})
21+
fs.rmSync(genPath, {recursive: true})
2222
})
2323

2424
test('generates docs directory', t => {

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /