Skip to content

Commit 8644004

Browse files
committed
workflow updated
1 parent 4ad8a82 commit 8644004

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

.github/workflows/build.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,11 @@ on:
44
push:
55
branches:
66
- main
7+
- develop
78
pull_request:
89
branches:
910
- main
11+
- develop
1012

1113
jobs:
1214
build:
@@ -22,11 +24,13 @@ jobs:
2224
node-version: 18
2325
cache: 'pnpm'
2426

25-
- name: Install pnpm
26-
run: npm install -g pnpm
27+
- name: Set up pnpm
28+
uses: pnpm/action-setup@v3
29+
with:
30+
version: 8
2731

2832
- name: Install Dependencies
29-
run: pnpm install
33+
run: pnpm install --frozen-lockfile
3034

3135
- name: Run Linting
3236
run: pnpm run lint

0 commit comments

Comments
 (0)