Skip to content

Commit 1ccf85b

Browse files
authored
Update tests.yml
1 parent 4cfc7e8 commit 1ccf85b

File tree

1 file changed

+8
-9
lines changed

1 file changed

+8
-9
lines changed

.github/workflows/tests.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
test:
@@ -16,16 +18,13 @@ jobs:
1618
- name: Checkout code
1719
uses: actions/checkout@v3
1820

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

3029
- name: Run tests
31-
run: pnpm test
30+
run: bun test

0 commit comments

Comments
 (0)