Skip to content

Commit

Permalink
chore: nodejs upgrade (#2743)
Browse files Browse the repository at this point in the history
* chore: nodejs upgrade

* save
  • Loading branch information
karl-cardenas-coding authored May 2, 2024
1 parent 7456ed4 commit 9895b3f
Show file tree
Hide file tree
Showing 12 changed files with 19 additions and 19 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/dependabot.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
- name: Setup Node.js environment
uses: actions/setup-node@v4
with:
node-version: "18"
node-version: "20"
cache: "npm"

- run: npm ci
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/eslint-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
- name: Setup Node.js environment
uses: actions/setup-node@v4
with:
node-version: "18"
node-version: "20"
cache: "npm"

- run: npm ci
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/nightly-docker-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
- name: Setup Node.js environment
uses: actions/setup-node@v4
with:
node-version: "18"
node-version: "20"
cache: "npm"

- run: npm ci
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/pull_request.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ jobs:
- name: Setup Node.js environment
uses: actions/setup-node@v4
with:
node-version: "18"
node-version: "20"
cache: "npm"

- name: Prettier Check
Expand All @@ -82,7 +82,7 @@ jobs:
- name: Setup Node.js environment
uses: actions/setup-node@v4
with:
node-version: "18"
node-version: "20"
cache: "npm"

- run: npm ci
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-branch-pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
- name: Setup Node.js environment
uses: actions/setup-node@v4
with:
node-version: "18"
node-version: "20"
cache: "npm"

- run: npm ci
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-preview.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
- name: Setup Node.js environment
uses: actions/setup-node@v4
with:
node-version: "18"
node-version: "20"
cache: "npm"

- run: npm ci
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ jobs:
- name: Setup Node.js environment
uses: actions/setup-node@v4
with:
node-version: "18"
node-version: "20"
cache: "npm"

- run: npm ci
Expand Down Expand Up @@ -83,7 +83,7 @@ jobs:
- name: Setup Node.js environment
uses: actions/setup-node@v4
with:
node-version: "18"
node-version: "20"
cache: "npm"

- run: npm ci
Expand Down Expand Up @@ -126,7 +126,7 @@ jobs:
- name: Setup Nodejs
uses: actions/setup-node@v4
with:
node-version: 18
node-version: "20"
cache: "npm"

- name: Install dependencies
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/screenshot_capture.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
- name: Setup Node.js Environment
uses: actions/setup-node@v4
with:
node-version: "18"
node-version: "20"
cache: "npm"

- name: Install Dependencies
Expand Down Expand Up @@ -72,7 +72,7 @@ jobs:
- name: Setup Node.js Environment
uses: actions/setup-node@v4
with:
node-version: "18"
node-version: "20"
cache: "npm"

- name: Install Dependencies
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/url-checks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
- name: Setup Nodejs
uses: actions/setup-node@v4
with:
node-version: 18
node-version: "20"

- name: URL Checker
run: make verify-url-links-ci
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/visual-comparison.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ env:


concurrency:
group: "visual-comparison-${{ github.workflow }}"
group: "visual-comparison-${{ github.workflow }}-${{ github.head_ref }}"
cancel-in-progress: true


Expand Down Expand Up @@ -53,7 +53,7 @@ jobs:
- name: Setup Node.js Environment
uses: actions/setup-node@v4
with:
node-version: "18"
node-version: "20"
cache: "npm"

- name: Post PR Comment
Expand Down Expand Up @@ -100,7 +100,7 @@ jobs:
- name: Setup Node.js environment
uses: actions/setup-node@v4
with:
node-version: "18"
node-version: "20"
cache: "npm"

- name: Install Dependencies
Expand Down Expand Up @@ -148,7 +148,7 @@ jobs:
- name: Setup Node.js environment
uses: actions/setup-node@v4
with:
node-version: "18"
node-version: "20"
cache: "npm"

- name: Install Dependencies
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:18-alpine
FROM node:20-alpine

WORKDIR /librarium

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,6 @@
]
},
"engines": {
"node": ">=16.14"
"node": ">=20.12"
}
}

0 comments on commit 9895b3f

Please sign in to comment.