Skip to content

Commit 26bcfb8

Browse files
fix: try to fix ci/cd pipeline
1 parent 89e4bc9 commit 26bcfb8

3 files changed

Lines changed: 13 additions & 5 deletions

File tree

.github/workflows/ci.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,16 @@ jobs:
1212
- uses: actions/checkout@v4
1313

1414
- uses: pnpm/action-setup@v4
15+
with:
16+
version: 10.0.0
1517

1618
- uses: actions/setup-node@v4
1719
with:
18-
node-version: 20
20+
node-version: 20.11.1
1921
cache: 'pnpm'
2022

2123
- run: pnpm install --frozen-lockfile
2224
- run: pnpm lint
2325
- run: pnpm build
2426
- run: pnpm typecheck
25-
- run: pnpm test
27+
- run: pnpm test

.github/workflows/release.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,15 +16,17 @@ jobs:
1616
- uses: actions/checkout@v4
1717

1818
- uses: pnpm/action-setup@v4
19+
with:
20+
version: 10.0.0
1921

2022
- uses: actions/setup-node@v4
2123
with:
22-
node-version: 20
24+
node-version: 20.11.1
2325
registry-url: 'https://registry.npmjs.org/'
2426

2527
- run: pnpm install --frozen-lockfile
2628
- run: pnpm build
2729
- run: pnpm test
2830
- run: pnpm --filter react-virtualized-diff publish --access public --no-git-checks
2931
env:
30-
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
32+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

package.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,9 @@
88
"test": "pnpm -r test",
99
"lint": "pnpm -r lint",
1010
"typecheck": "pnpm -r typecheck"
11+
},
12+
"volta": {
13+
"node": "20.11.1",
14+
"pnpm": "10.0.0"
1115
}
12-
}
16+
}

0 commit comments

Comments
 (0)