Skip to content

Commit 58a44e7

Browse files
committed
Changed version of node runtime for action from node16 to node20
1 parent cc467fb commit 58a44e7

File tree

5 files changed

+15
-9
lines changed

5 files changed

+15
-9
lines changed

.github/workflows/release.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77
jobs:
88
update-git-tag: # Reason: <https://github.com/actions/toolkit/blob/master/docs/action-versioning.md#recommendations>
99
name: Update latest major git tag
10-
runs-on: ubuntu-20.04
10+
runs-on: ubuntu-latest
1111
steps:
1212
- uses: actions/checkout@v4
1313

.github/workflows/tests.yml

+6-6
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ concurrency:
1515
jobs:
1616
gitleaks:
1717
name: Gitleaks
18-
runs-on: ubuntu-20.04
18+
runs-on: ubuntu-latest
1919
steps:
2020
- uses: actions/checkout@v4
2121
with: {fetch-depth: 0}
@@ -25,13 +25,13 @@ jobs:
2525

2626
eslint:
2727
name: Run eslint
28-
runs-on: ubuntu-20.04
28+
runs-on: ubuntu-latest
2929
env: {FORCE_COLOR: 'true'}
3030
steps:
3131
- uses: actions/checkout@v4
3232

3333
- uses: actions/setup-node@v4
34-
with: {node-version: '16'}
34+
with: {node-version: '20'}
3535

3636
- uses: actions/cache@v3
3737
id: yarn-cache
@@ -47,15 +47,15 @@ jobs:
4747

4848
dist-built:
4949
name: Check distributive built state
50-
runs-on: ubuntu-20.04
50+
runs-on: ubuntu-latest
5151
outputs:
5252
dist-changed: ${{ steps.state.outputs.changed }}
5353
env: {FORCE_COLOR: 'true'}
5454
steps:
5555
- uses: actions/checkout@v4
5656

5757
- uses: actions/setup-node@v4
58-
with: {node-version: '16'}
58+
with: {node-version: '20'}
5959

6060
- uses: actions/cache@v3
6161
id: yarn-cache
@@ -79,7 +79,7 @@ jobs:
7979
name: Commit and push fresh distributive
8080
needs: [dist-built]
8181
if: ${{ needs.dist-built.outputs.dist-changed == 'true' }}
82-
runs-on: ubuntu-20.04
82+
runs-on: ubuntu-latest
8383
permissions:
8484
contents: write
8585
pull-requests: write

CHANGELOG.md

+6
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,12 @@ All notable changes to this package will be documented in this file.
44

55
The format is based on [Keep a Changelog][keepachangelog] and this project adheres to [Semantic Versioning][semver].
66

7+
## v1.2.0
8+
9+
### Changed
10+
11+
- Version of node runtime for action from node16 to node20
12+
713
## v1.1.0
814

915
### Removed

action.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ inputs:
1212
default: ${{ github.token }}
1313

1414
runs:
15-
using: node16
15+
using: node20
1616
main: dist/index.js
1717

1818
branding:

docker-compose.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ volumes:
55

66
services:
77
node:
8-
image: node:16-alpine # Image page: <https://hub.docker.com/_/node>
8+
image: node:20-alpine # Image page: <https://hub.docker.com/_/node>
99
environment:
1010
PS1: '\[\033[1;32m\]\[\033[1;36m\][\u@\h] \[\033[1;34m\]\w\[\033[0;35m\] \[\033[1;36m\]# \[\033[0m\]'
1111
PATH: "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/app/node_modules/.bin"

0 commit comments

Comments
 (0)