5
0
Fork 0
mirror of https://github.com/wagoid/commitlint-github-action.git synced 2025-11-07 08:06:54 +00:00

Merge pull request #796 from Jayllyz/build/bump-node-lts

build: update node.js version to 20.16.0
This commit is contained in:
Wagner Santos 2024-08-05 06:40:00 -03:00 committed by GitHub
commit 310ec1e09c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 14 additions and 14 deletions

View file

@ -9,9 +9,9 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
- uses: actions/setup-node@v3 - uses: actions/setup-node@v4
with: with:
node-version: '20.9.0' node-version: '20.16.0'
- uses: actions/cache@v3 - uses: actions/cache@v3
with: with:
path: | path: |
@ -38,9 +38,9 @@ jobs:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
with: with:
fetch-depth: 0 fetch-depth: 0
- uses: actions/setup-node@v3 - uses: actions/setup-node@v4
with: with:
node-version: '20.9.0' node-version: '20.16.0'
- uses: actions/cache@v3 - uses: actions/cache@v3
with: with:
path: | path: |

View file

@ -8,9 +8,9 @@ jobs:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
- run: sed -i -E "s/(docker:.+)/Dockerfile/" ./action.yml - run: sed -i -E "s/(docker:.+)/Dockerfile/" ./action.yml
- run: echo -n '' > .dockerignore - run: echo -n '' > .dockerignore
- uses: actions/setup-node@v3 - uses: actions/setup-node@v4
with: with:
node-version: '20.9.0' node-version: '20.16.0'
- uses: actions/cache@v3 - uses: actions/cache@v3
with: with:
path: | path: |
@ -31,9 +31,9 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
- uses: actions/setup-node@v3 - uses: actions/setup-node@v4
with: with:
node-version: '20.9.0' node-version: '20.16.0'
- uses: actions/cache@v3 - uses: actions/cache@v3
with: with:
path: | path: |

2
.nvmrc
View file

@ -1 +1 @@
20.9.0 20.16.0

View file

@ -1,4 +1,4 @@
FROM node:20.9.0-alpine3.17 as build FROM node:20.16.0-alpine3.20 as build
COPY package*.json / COPY package*.json /
@ -8,7 +8,7 @@ COPY . .
RUN npm run build RUN npm run build
FROM node:20.9.0-alpine3.17 FROM node:20.16.0-alpine3.20
RUN apk --no-cache add git RUN apk --no-cache add git

View file

@ -1,6 +1,6 @@
{ {
"presets": [["@babel/preset-env"]], "presets": [["@babel/preset-env"]],
"targets": { "targets": {
"node": "20.9.0" "node": "20.16.0"
} }
} }

2
package-lock.json generated
View file

@ -57,7 +57,7 @@
"yaml": "^2.4.1" "yaml": "^2.4.1"
}, },
"engines": { "engines": {
"node": "20.9.0" "node": "20.16.0"
} }
}, },
"node_modules/@actions/core": { "node_modules/@actions/core": {

View file

@ -12,7 +12,7 @@
"build": "rollup -c" "build": "rollup -c"
}, },
"engines": { "engines": {
"node": "20.9.0" "node": "20.16.0"
}, },
"repository": { "repository": {
"type": "git", "type": "git",