Skip to content

Commit f7c1368

Browse files
authored
Merge pull request #100 from jaredwray/chore-moving-to-nodejs-24
chore: moving to nodejs 24
2 parents d89f293 + cac848a commit f7c1368

10 files changed

Lines changed: 16 additions & 23 deletions

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,3 @@
33
- [ ] Tests for the changes have been added (for bug fixes/features) with 100% code coverage.
44

55
**What kind of change does this PR introduce?** (Bug fix, feature, docs update, ...)
6-

.github/workflows/code-coverage.yaml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,16 +15,12 @@ jobs:
1515

1616
runs-on: ubuntu-latest
1717

18-
strategy:
19-
matrix:
20-
node-version: ['22']
21-
2218
steps:
2319
- uses: actions/checkout@v4
24-
- name: Use Node.js ${{ matrix.node-version }}
20+
- name: Use Node.js 24
2521
uses: actions/setup-node@v4
2622
with:
27-
node-version: ${{ matrix.node-version }}
23+
node-version: 24
2824

2925
- name: Install Dependencies
3026
run: npm install pnpm -g && pnpm install

.github/workflows/deploy-site.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,10 @@ jobs:
2222
uses: actions/checkout@v4
2323

2424
# Setup Node
25-
- name: Use Node.js 22
25+
- name: Use Node.js
2626
uses: actions/setup-node@v4
2727
with:
28-
node-version: 22
28+
node-version: 24
2929

3030
# DO NOT USE pnpm here, it will cause issues with Docker build
3131
- name: Install Dependencies

.github/workflows/docker-publish.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
- name: Install Node.js
2020
uses: actions/setup-node@v4
2121
with:
22-
node-version: 22
22+
node-version: 24
2323

2424
- name: Install pnpm
2525
run: npm install -g pnpm && pnpm install

.github/workflows/release.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@ jobs:
1515

1616
steps:
1717
- uses: actions/checkout@v4
18-
- name: Use Node.js 22
18+
- name: Use Node.js
1919
uses: actions/setup-node@v4
2020
with:
21-
node-version: 22
21+
node-version: 24
2222

2323
- name: Install Dependencies
2424
run: npm install pnpm -g && pnpm install

.github/workflows/tests.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717

1818
strategy:
1919
matrix:
20-
node-version: ['20', '22']
20+
node-version: ['20', '22', '24']
2121

2222
steps:
2323
- uses: actions/checkout@v4

.nvmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
22
1+
24

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Use an official Node.js image as the base
2-
FROM node:22-alpine
2+
FROM node:24-alpine
33

44
# Set working directory
55
WORKDIR /app

package.json

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -80,12 +80,5 @@
8080
"dist",
8181
"public",
8282
"LICENCE"
83-
],
84-
"pnpm": {
85-
"onlyBuiltDependencies": [
86-
"@swc/core",
87-
"unrs-resolver",
88-
"vue-demi"
89-
]
90-
}
83+
]
9184
}

pnpm-workspace.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
minimumReleaseAge: 2880
2+
onlyBuiltDependencies:
3+
- "@swc/core"
4+
- "unrs-resolver"
5+
- "vue-demi"

0 commit comments

Comments
 (0)