Skip to content

Commit

Permalink
feat: Replace npm with bun installation in test GitHub Action
Browse files Browse the repository at this point in the history
  • Loading branch information
amalv committed Feb 23, 2024
1 parent 9cb1441 commit e19b2a7
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,10 @@ jobs:
uses: actions/setup-node@v4
with:
node-version: 20
cache: "npm"
- name: Install dependencies
run: npm install
run: bun install
- name: Run lint
run: npm run lint
run: bun run lint
unit-tests:
runs-on: ubuntu-latest
steps:
Expand All @@ -28,11 +27,10 @@ jobs:
uses: actions/setup-node@v4
with:
node-version: 20
cache: "npm"
- name: Install dependencies
run: npm install
run: bun install
- name: Run unit tests
run: npm test
run: bun test

e2e-tests:
runs-on: ubuntu-latest
Expand All @@ -59,7 +57,7 @@ jobs:
with:
node-version: 20
- name: Install dependencies
run: npm install
run: bun install
- name: Install Playwright Browsers
run: npx playwright install --with-deps
- name: Run Playwright tests
Expand Down

0 comments on commit e19b2a7

Please sign in to comment.