Skip to content

Commit 97ef02e

Browse files
authored
feat: bump node12 to node16 (#466)
Close #465 - deps: bump node12 to node16 - deps: bump @actions/core from 1.6.0 to 1.10.0
1 parent 95fa0b4 commit 97ef02e

10 files changed

+55
-21
lines changed

.github/workflows/codeql-analysis.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ on:
88

99
jobs:
1010
CodeQL-Build:
11-
runs-on: ubuntu-18.04
11+
runs-on: ubuntu-22.04
1212
steps:
1313
- uses: actions/checkout@v3
1414

.github/workflows/purge-readme-image-cache.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ on:
66

77
jobs:
88
purge:
9-
runs-on: ubuntu-18.04
9+
runs-on: ubuntu-22.04
1010
steps:
1111

1212
- run: >

.github/workflows/release.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77

88
jobs:
99
release:
10-
runs-on: ubuntu-18.04
10+
runs-on: ubuntu-22.04
1111
steps:
1212
- uses: actions/checkout@v3
1313

.github/workflows/test-action.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
matrix:
1313
os:
1414
- 'ubuntu-latest'
15-
- 'ubuntu-18.04'
15+
- 'ubuntu-20.04'
1616
- 'macos-latest'
1717
- 'windows-latest'
1818
mdbook-version:

.github/workflows/test.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
matrix:
1818
os:
1919
- 'ubuntu-latest'
20-
- 'ubuntu-18.04'
20+
- 'ubuntu-20.04'
2121
- 'macos-latest'
2222
- 'windows-latest'
2323
steps:
@@ -35,15 +35,15 @@ jobs:
3535
- run: npm ci
3636

3737
- name: Run prettier
38-
if: ${{ startsWith(matrix.os, 'ubuntu-18.04') }}
38+
if: ${{ startsWith(matrix.os, 'ubuntu-latest') }}
3939
run: npm run format:check
4040

4141
- name: Run eslint
42-
if: ${{ startsWith(matrix.os, 'ubuntu-18.04') }}
42+
if: ${{ startsWith(matrix.os, 'ubuntu-latest') }}
4343
run: npm run lint
4444

4545
- name: Run ncc
46-
if: ${{ startsWith(matrix.os, 'ubuntu-18.04') }}
46+
if: ${{ startsWith(matrix.os, 'ubuntu-latest') }}
4747
run: npm run build
4848

4949
- run: npm test

.nvmrc

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
12.22.4
1+
16.18.0

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ GitHub Actions for mdBook
2121
We can run **mdBook** on a virtual machine of **GitHub Actions** by this mdBook action.
2222
Linux, macOS, and Windows are supported.
2323

24-
| OS (runs-on) | ubuntu-18.04, ubuntu-20.04 | macos-latest | windows-2019 |
24+
| OS (runs-on) | ubuntu-20.04, ubuntu-22.04 | macos-latest | windows-2019 |
2525
|---|:---:|:---:|:---:|
2626
| Support | ✅️ | ✅️ | ✅️ |
2727

action.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ inputs:
77
required: false
88
default: 'latest'
99
runs:
10-
using: 'node12'
10+
using: 'node16'
1111
main: 'lib/index.js'
1212
branding:
1313
icon: 'book-open'

package-lock.json

+43-9
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
},
4141
"homepage": "https://github.com/peaceiris/actions-mdbook#readme",
4242
"dependencies": {
43-
"@actions/core": "^1.6.0",
43+
"@actions/core": "^1.10.0",
4444
"@actions/exec": "^1.1.1",
4545
"@actions/io": "^1.1.0",
4646
"@actions/tool-cache": "^1.7.2",

0 commit comments

Comments
 (0)