Skip to content

Commit 2cb97e2

Browse files
authored
Merge pull request #6 from LayZeeDK/LayZeeDK/migrate-to-node24-runtime
feat!: migrate to the `node24` runtime
2 parents 5ca8765 + 6ee91f5 commit 2cb97e2

112 files changed

Lines changed: 100164 additions & 91643 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.devcontainer/devcontainer.json

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,16 +3,21 @@
33
{
44
"name": "Node.js & TypeScript",
55
// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
6-
"image": "mcr.microsoft.com/devcontainers/typescript-node:1-22-bookworm",
6+
"image": "mcr.microsoft.com/devcontainers/typescript-node:4-24-bookworm",
77

88
// Features to add to the dev container. More info: https://containers.dev/features.
9-
// "features": {},
9+
"features": {
10+
"ghcr.io/devcontainers/features/ruby:1": {
11+
"version": "3.3"
12+
},
13+
"ghcr.io/devcontainers-extra/features/cmake:1": {}
14+
},
1015

1116
// Use 'forwardPorts' to make a list of ports inside the container available locally.
1217
// "forwardPorts": [],
1318

1419
// Use 'postCreateCommand' to run commands after the container is created.
15-
"postCreateCommand": "sudo apt-get update && sudo apt-get install -y pigz && npm install"
20+
"postCreateCommand": "sudo chown -R node:node . && sudo apt-get update && sudo apt-get install -y pigz && gem install licensed:2.12.2 --no-document && npm install"
1621

1722
// Configure tool-specific properties.
1823
// "customizations": {},

.eslintrc.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,11 @@
1212
"plugin:prettier/recommended"
1313
],
1414
"plugins": ["@typescript-eslint", "simple-import-sort", "jest"],
15+
"settings": {
16+
"import/resolver": {
17+
"typescript": {}
18+
}
19+
},
1520
"rules": {
1621
"import/first": "error",
1722
"import/newline-after-import": "error",

.github/workflows/check-dist.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,11 @@ jobs:
2020
runs-on: puzl-ubuntu-latest
2121

2222
steps:
23-
- uses: actions/checkout@v4
24-
- name: Setup Node.js 20.x
25-
uses: actions/setup-node@v4
23+
- uses: actions/checkout@v6
24+
- name: Setup Node.js 24.x
25+
uses: actions/setup-node@v6
2626
with:
27-
node-version: 20.x
27+
node-version: 24.x
2828
cache: npm
2929
- name: Install dependencies
3030
run: npm ci
@@ -41,7 +41,7 @@ jobs:
4141
id: diff
4242

4343
# If index.js was different than expected, upload the expected version as an artifact
44-
- uses: actions/upload-artifact@v4
44+
- uses: actions/upload-artifact@v7
4545
if: ${{ failure() && steps.diff.conclusion == 'failure' }}
4646
with:
4747
name: dist

.github/workflows/licensed.yml

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,11 @@ jobs:
1313
runs-on: puzl-ubuntu-latest
1414
name: Check licenses
1515
steps:
16-
- uses: actions/checkout@v4
16+
- uses: actions/checkout@v6
1717
- run: npm ci
18-
- name: Install licensed
19-
run: |
20-
cd $RUNNER_TEMP
21-
curl -Lfs -o licensed.tar.gz https://github.com/github/licensed/releases/download/2.12.2/licensed-2.12.2-linux-x64.tar.gz
22-
sudo tar -xzf licensed.tar.gz
23-
sudo mv licensed /usr/local/bin/licensed
18+
- uses: ruby/setup-ruby@v1
19+
with:
20+
ruby-version: '3.3'
21+
- run: sudo apt-get update && sudo apt-get install -y build-essential cmake
22+
- run: gem install licensed:2.12.2 --no-document
2423
- run: licensed status

.github/workflows/publish-immutable-actions.yml

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

1515
steps:
1616
- name: Checking out
17-
uses: actions/checkout@v4
17+
uses: actions/checkout@v6
1818
- name: Publish
1919
id: publish
2020
uses: actions/publish-immutable-action@v0.0.4

.github/workflows/release-new-action-version.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,6 @@ jobs:
2222
steps:
2323
- name: Update the ${{ env.TAG_NAME }} tag
2424
id: update-major-tag
25-
uses: actions/publish-action@v0.3.0
25+
uses: actions/publish-action@v0.4.0
2626
with:
2727
source-tag: ${{ env.TAG_NAME }}

.github/workflows/workflow.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,11 @@ jobs:
1717
runs-on: puzl-ubuntu-latest
1818
steps:
1919
- name: Checkout
20-
uses: actions/checkout@v4
21-
- name: Setup Node.js 20.x
22-
uses: actions/setup-node@v4
20+
uses: actions/checkout@v6
21+
- name: Setup Node.js 24.x
22+
uses: actions/setup-node@v6
2323
with:
24-
node-version: 20.x
24+
node-version: 24.x
2525
cache: npm
2626
- run: npm ci
2727
- name: Prettier Format Check
@@ -36,7 +36,7 @@ jobs:
3636
runs-on: puzl-ubuntu-latest
3737
steps:
3838
- name: Checkout
39-
uses: actions/checkout@v4
39+
uses: actions/checkout@v6
4040
- name: Generate files in working directory
4141
shell: bash
4242
run: bash __tests__/create-cache-files.sh ${{ runner.os }} test-cache
@@ -63,7 +63,7 @@ jobs:
6363
runs-on: puzl-ubuntu-latest
6464
steps:
6565
- name: Checkout
66-
uses: actions/checkout@v4
66+
uses: actions/checkout@v6
6767
- name: tree /.puzl
6868
shell: bash
6969
run: tree /.puzl
@@ -90,7 +90,7 @@ jobs:
9090
runs-on: puzl-ubuntu-latest
9191
steps:
9292
- name: Checkout
93-
uses: actions/checkout@v4
93+
uses: actions/checkout@v6
9494
- name: Cleanup old caches
9595
shell: bash
9696
run: bash -x cleanup.sh
@@ -99,7 +99,7 @@ jobs:
9999
runs-on: puzl-ubuntu-latest
100100
steps:
101101
- name: Checkout
102-
uses: actions/checkout@v4
102+
uses: actions/checkout@v6
103103
- name: Generate files in working directory
104104
shell: bash
105105
run: bash __tests__/create-cache-files.sh ${{ runner.os }} test-separate-actions
@@ -126,7 +126,7 @@ jobs:
126126
runs-on: puzl-ubuntu-latest
127127
steps:
128128
- name: Checkout
129-
uses: actions/checkout@v4
129+
uses: actions/checkout@v6
130130
- name: tree /.puzl
131131
shell: bash
132132
run: tree /.puzl
@@ -153,7 +153,7 @@ jobs:
153153
runs-on: puzl-ubuntu-latest
154154
steps:
155155
- name: Checkout
156-
uses: actions/checkout@v4
156+
uses: actions/checkout@v6
157157
- name: Cleanup old caches
158158
shell: bash
159159
run: bash -x cleanup.sh

.licenses/npm/@actions/cache.dep.yml

Lines changed: 0 additions & 20 deletions
This file was deleted.

.licenses/npm/@actions/core.dep.yml

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.licenses/npm/@actions/exec.dep.yml

Lines changed: 0 additions & 20 deletions
This file was deleted.

0 commit comments

Comments
 (0)