Skip to content

Commit 1bcf583

Browse files
committed
Bumps node modules
1 parent 2bdb733 commit 1bcf583

6 files changed

Lines changed: 65 additions & 57 deletions

File tree

.github/workflows/check-dist.yml

Lines changed: 36 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -16,37 +16,39 @@ jobs:
1616
runs-on: ubuntu-latest
1717

1818
steps:
19-
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
20-
21-
- name: Use Node.js
22-
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
23-
with:
24-
node-version: 'lts/*'
25-
check-latest: true
26-
package-manager-cache: false
27-
28-
- name: Install pnpm
29-
uses: pnpm/action-setup@0e279bb959325dab635dd2c09392533439d90093 # v6.0.8
30-
with:
31-
run_install: |
32-
- recursive: true
33-
args: [--no-frozen-lockfile]
34-
35-
- name: Rebuild the dist/ directory
36-
run: rm -rf dist && pnpm build && pnpm package
37-
38-
- name: Compare the expected and actual dist/ directories
39-
run: |
40-
if [ "$(git diff --ignore-space-at-eol dist/ | wc -l)" -gt "0" ]; then
41-
echo "Detected uncommitted changes after build. See status below:"
42-
git diff
43-
exit 1
44-
fi
45-
id: diff
46-
47-
# If index.js was different than expected, upload the expected version as an artifact
48-
- uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
49-
if: ${{ failure() && steps.diff.conclusion == 'failure' }}
50-
with:
51-
name: dist
52-
path: dist/
19+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
20+
with:
21+
persist-credentials: false
22+
23+
- name: Use Node.js
24+
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
25+
with:
26+
node-version: 'lts/*'
27+
check-latest: true
28+
package-manager-cache: false
29+
30+
- name: Install pnpm
31+
uses: pnpm/action-setup@0e279bb959325dab635dd2c09392533439d90093 # v6.0.8
32+
with:
33+
run_install: |
34+
- recursive: true
35+
args: [--no-frozen-lockfile]
36+
37+
- name: Rebuild the dist/ directory
38+
run: rm -rf dist && pnpm build && pnpm package
39+
40+
- name: Compare the expected and actual dist/ directories
41+
run: |
42+
if [ "$(git diff --ignore-space-at-eol dist/ | wc -l)" -gt "0" ]; then
43+
echo "Detected uncommitted changes after build. See status below:"
44+
git diff
45+
exit 1
46+
fi
47+
id: diff
48+
49+
# If index.js was different than expected, upload the expected version as an artifact
50+
- uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
51+
if: ${{ failure() && steps.diff.conclusion == 'failure' }}
52+
with:
53+
name: dist
54+
path: dist/

.github/workflows/codeql.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,8 @@ jobs:
5959
steps:
6060
- name: Checkout repository
6161
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
62+
with:
63+
persist-credentials: false
6264

6365
# Add any setup steps before running the `github/codeql-action/init` action.
6466
# This includes steps like installing compilers or runtimes (`actions/setup-node`

.github/workflows/dependency-review.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,8 @@ jobs:
3030
steps:
3131
- name: 'Checkout repository'
3232
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
33+
with:
34+
persist-credentials: false
3335
- name: 'Dependency Review'
3436
uses: actions/dependency-review-action@a1d282b36b6f3519aa1f3fc636f609c47dddb294 # v5.0.0
3537
# Commonly enabled options, see https://github.com/actions/dependency-review-action#configuration-options for all available options.

.github/workflows/test.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@ jobs:
2020
runs-on: ubuntu-latest
2121
steps:
2222
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
23+
with:
24+
persist-credentials: false
2325

2426
- name: Use Node.js
2527
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
"@eslint/eslintrc": "^3.3.5",
3434
"@eslint/js": "^10.0.1",
3535
"@stylistic/eslint-plugin": "^5.10.0",
36-
"@types/node": "^25.9.0",
36+
"@types/node": "^24.12.4",
3737
"@vercel/ncc": "^0.38.4",
3838
"@vitest/coverage-v8": "^4.1.7",
3939
"eslint": "^10.4.0",

pnpm-lock.yaml

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

0 commit comments

Comments
 (0)