Skip to content

Commit c749ebf

Browse files
authored
rm explcitiy cache (#141)
fix the cache issue in workflow
2 parents 4be67a9 + 07d058e commit c749ebf

File tree

1 file changed

+23
-25
lines changed

1 file changed

+23
-25
lines changed

.github/workflows/build.yml

Lines changed: 23 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,29 @@
1-
name: Typescript Client CI
1+
name: ci
22
on:
33
push:
4-
branches: [ main ]
4+
branches: [main]
55
pull_request:
6-
branches: [ main ]
6+
branches: [main]
77
jobs:
8-
build:
8+
check:
99
runs-on: ubuntu-latest
10-
strategy:
11-
matrix:
12-
node-version: [22.x]
1310
steps:
14-
- name: Checkout
15-
uses: actions/checkout@v4
16-
- name: Install pnpm
17-
uses: pnpm/action-setup@v2
18-
with:
19-
version: 8
20-
- name: Use Node.js ${{ matrix.node-version }}
21-
uses: actions/setup-node@v4
22-
with:
23-
node-version: ${{ matrix.node-version }}
24-
cache: 'pnpm'
25-
cache-dependency-path: pnpm-lock.json
26-
- name: Install dependencies
27-
run: pnpm install
28-
- name: Run lint
29-
run: pnpm run lint
30-
- name: Run build
31-
run: pnpm run build
11+
- uses: actions/checkout@v4
12+
13+
- uses: pnpm/action-setup@v3
14+
with:
15+
version: 9.4.0
16+
17+
- uses: actions/setup-node@v4
18+
with:
19+
node-version: "23"
20+
cache: "pnpm"
21+
22+
- name: Install dependencies
23+
run: pnpm install -r --no-frozen-lockfile
24+
25+
- name: Run lint and fix
26+
run: pnpm run lint:fix
27+
28+
- name: Build packages
29+
run: pnpm run build

0 commit comments

Comments
 (0)