Skip to content

Commit

Permalink
💥 Upgrade from node 16 to node 20
Browse files Browse the repository at this point in the history
Node 16 is end of life
(see https://nodejs.org/de/blog/announcements/nodejs16-eol)

Node 20 is the next lts version and supported by github actions runner
(see
actions/runner#2619 (comment),
however there is no docs update or blog post available yet)
  • Loading branch information
WtfJoke committed Sep 17, 2023
1 parent 2dec189 commit 20a6b30
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
16.20.2
20.6.1
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ See [action.yml](https://github.com/WtfJoke/setup-tectonic/blob/main/action.yml)

```yml
steps:
- uses: wtfjoke/setup-tectonic@v2
- uses: wtfjoke/setup-tectonic@v3
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
- run: tectonic main.tex
Expand All @@ -33,7 +33,7 @@ You can also download a specific version of Tectonic
```yml
steps:
- uses: wtfjoke/setup-tectonic@v2
- uses: wtfjoke/setup-tectonic@v3
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
tectonic-version: 0.12.0
Expand All @@ -44,7 +44,7 @@ If you want to use biber, specify a biber version (for a full example see [below
```yml
steps:
- uses: wtfjoke/setup-tectonic@v2
- uses: wtfjoke/setup-tectonic@v3
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
biber-version: 2.16
Expand All @@ -64,7 +64,7 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v3
- uses: wtfjoke/setup-tectonic@v2
- uses: wtfjoke/setup-tectonic@v3
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
- name: Run Tectonic
Expand Down Expand Up @@ -96,7 +96,7 @@ jobs:
key: ${{ runner.os }}-tectonic-${{ hashFiles('**/*.tex') }}
restore-keys: |
${{ runner.os }}-tectonic-
- uses: wtfjoke/setup-tectonic@v2
- uses: wtfjoke/setup-tectonic@v3
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
- name: Run Tectonic
Expand Down Expand Up @@ -128,7 +128,7 @@ jobs:
key: ${{ runner.os }}-tectonic-${{ hashFiles('**/*.tex') }}
restore-keys: |
${{ runner.os }}-tectonic-
- uses: wtfjoke/setup-tectonic@v2
- uses: wtfjoke/setup-tectonic@v3
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
biber-version: 'latest'
Expand Down
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ inputs:
description: 'The version of biber to install. A value of `latest` will install the latest version of biber.'

runs:
using: 'node16'
using: 'node20'
main: 'dist/index.js'
branding:
icon: book-open
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"devDependencies": {
"@octokit/types": "11.1.0",
"@types/jest": "29.5.5",
"@types/node": "16.18.50",
"@types/node": "20.6.2",
"@types/semver": "7.5.2",
"@types/uuid": "9.0.4",
"@typescript-eslint/parser": "6.7.0",
Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -930,10 +930,10 @@
resolved "https://registry.yarnpkg.com/@types/node/-/node-20.5.7.tgz#4b8ecac87fbefbc92f431d09c30e176fc0a7c377"
integrity sha512-dP7f3LdZIysZnmvP3ANJYTSwg+wLLl8p7RqniVlV7j+oXSXAbt9h0WIBFmJy5inWZoX9wZN6eXx+YXd9Rh3RBA==

"@types/node@16.18.50":
version "16.18.50"
resolved "https://registry.yarnpkg.com/@types/node/-/node-16.18.50.tgz#93003cf0251a2ecd26dad6dc757168d648519805"
integrity sha512-OiDU5xRgYTJ203v4cprTs0RwOCd5c5Zjv+K5P8KSqfiCsB1W3LcamTUMcnQarpq5kOYbhHfSOgIEJvdPyb5xyw==
"@types/node@20.6.2":
version "20.6.2"
resolved "https://registry.yarnpkg.com/@types/node/-/node-20.6.2.tgz#a065925409f59657022e9063275cd0b9bd7e1b12"
integrity sha512-Y+/1vGBHV/cYk6OI1Na/LHzwnlNCAfU3ZNGrc1LdRe/LAIbdDPTTv/HU3M7yXN448aTVDq3eKRm2cg7iKLb8gw==

"@types/semver@7.5.2":
version "7.5.2"
Expand Down

0 comments on commit 20a6b30

Please sign in to comment.