Skip to content

Commit d582b0a

Browse files
authored
Update lint.yml
1 parent 1ccf85b commit d582b0a

File tree

1 file changed

+8
-9
lines changed

1 file changed

+8
-9
lines changed

.github/workflows/lint.yml

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

1113
jobs:
1214
lint:
@@ -18,16 +20,13 @@ jobs:
1820
- name: Checkout code
1921
uses: actions/checkout@v3
2022

21-
- name: Set up Node.js
22-
uses: actions/setup-node@v3
23-
with:
24-
node-version: '20'
25-
26-
- name: Install pnpm
27-
run: npm install -g pnpm
23+
- name: Set up Bun
24+
run: |
25+
curl -fsSL https://bun.sh/install | bash
26+
echo "${HOME}/.bun/bin" >> $GITHUB_PATH
2827
2928
- name: Install dependencies
30-
run: pnpm install
29+
run: bun install
3130

3231
- name: Run linter
33-
run: pnpm lint
32+
run: bun run lint

0 commit comments

Comments
 (0)