Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: bump node12 to node16 #466

Merged
merged 1 commit into from
Oct 23, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:

jobs:
CodeQL-Build:
runs-on: ubuntu-18.04
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/purge-readme-image-cache.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:

jobs:
purge:
runs-on: ubuntu-18.04
runs-on: ubuntu-22.04
steps:

- run: >
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:

jobs:
release:
runs-on: ubuntu-18.04
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
matrix:
os:
- 'ubuntu-latest'
- 'ubuntu-18.04'
- 'ubuntu-20.04'
- 'macos-latest'
- 'windows-latest'
mdbook-version:
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
matrix:
os:
- 'ubuntu-latest'
- 'ubuntu-18.04'
- 'ubuntu-20.04'
- 'macos-latest'
- 'windows-latest'
steps:
Expand All @@ -35,15 +35,15 @@ jobs:
- run: npm ci

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

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

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

- run: npm test
Expand Down
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
12.22.4
16.18.0
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ GitHub Actions for mdBook
We can run **mdBook** on a virtual machine of **GitHub Actions** by this mdBook action.
Linux, macOS, and Windows are supported.

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

Expand Down
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ inputs:
required: false
default: 'latest'
runs:
using: 'node12'
using: 'node16'
main: 'lib/index.js'
branding:
icon: 'book-open'
Expand Down
52 changes: 43 additions & 9 deletions package-lock.json

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

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
},
"homepage": "https://github.com/peaceiris/actions-mdbook#readme",
"dependencies": {
"@actions/core": "^1.6.0",
"@actions/core": "^1.10.0",
"@actions/exec": "^1.1.1",
"@actions/io": "^1.1.0",
"@actions/tool-cache": "^1.7.2",
Expand Down