Skip to content

Commit 0c11af3

Browse files
committed
Update dependencies in package.json and pnpm-lock.yaml, including playwright, typescript, and vitest. Enhance GitHub Actions workflow by adding hardened pnpm fetch settings for improved reliability.
1 parent 14701d1 commit 0c11af3

File tree

3 files changed

+327
-293
lines changed

3 files changed

+327
-293
lines changed

.github/workflows/test.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,19 @@ jobs:
2222
uses: actions/setup-node@v4
2323
with:
2424
node-version: ${{ matrix.node-version }}
25+
registry-url: 'https://registry.npmjs.org'
2526

2627
- name: Setup pnpm
2728
uses: pnpm/action-setup@v4
2829
with:
2930
version: latest
31+
32+
- name: Harden pnpm fetch settings
33+
run: |
34+
pnpm config set registry https://registry.npmjs.org
35+
pnpm config set fetch-retries 5
36+
pnpm config set fetch-retry-maxtimeout 60000
37+
pnpm config set fetch-retry-mintimeout 2000
3038
3139
- name: Get pnpm store directory
3240
shell: bash
@@ -79,11 +87,19 @@ jobs:
7987
uses: actions/setup-node@v4
8088
with:
8189
node-version: '20.x'
90+
registry-url: 'https://registry.npmjs.org'
8291

8392
- name: Setup pnpm
8493
uses: pnpm/action-setup@v4
8594
with:
8695
version: latest
96+
97+
- name: Harden pnpm fetch settings
98+
run: |
99+
pnpm config set registry https://registry.npmjs.org
100+
pnpm config set fetch-retries 5
101+
pnpm config set fetch-retry-maxtimeout 60000
102+
pnpm config set fetch-retry-mintimeout 2000
87103
88104
- name: Install dependencies
89105
run: pnpm install --frozen-lockfile

package.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -53,22 +53,22 @@
5353
"access": "public"
5454
},
5555
"dependencies": {
56-
"playwright": "^1.54.1"
56+
"playwright": "^1.56.1"
5757
},
5858
"devDependencies": {
5959
"@eslint/js": "9.33.0",
60-
"@types/node": "^20.0.0",
60+
"@types/node": "^20.19.24",
6161
"@typescript-eslint/eslint-plugin": "^6.21.0",
6262
"@typescript-eslint/parser": "^6.21.0",
63-
"@vitest/coverage-v8": "^1.0.0",
63+
"@vitest/coverage-v8": "^1.6.1",
6464
"eslint": "^8.57.1",
6565
"globals": "16.3.0",
6666
"jiti": "2.5.1",
67-
"prettier": "^3.0.0",
68-
"rimraf": "^5.0.0",
69-
"typescript": "^5.0.0",
67+
"prettier": "^3.6.2",
68+
"rimraf": "^5.0.10",
69+
"typescript": "^5.9.3",
7070
"typescript-eslint": "8.39.1",
71-
"vitest": "^1.0.0"
71+
"vitest": "^1.6.1"
7272
},
7373
"engines": {
7474
"node": ">=18.0.0"

0 commit comments

Comments
 (0)