Skip to content

Commit 8596e68

Browse files
author
Pierre-Luc Gagné
committed
ci: add workflow to run Playwright tests on push and PR
1 parent 90b0e0e commit 8596e68

1 file changed

Lines changed: 22 additions & 0 deletions

File tree

.github/workflows/test.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: Tests
2+
3+
on:
4+
push:
5+
branches: ['**']
6+
pull_request:
7+
8+
jobs:
9+
test:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: actions/checkout@v4
13+
- uses: pnpm/action-setup@v4
14+
with:
15+
version: 9
16+
- uses: actions/setup-node@v4
17+
with:
18+
node-version: 20
19+
cache: 'pnpm'
20+
- run: pnpm i
21+
- run: pnpm playwright install chromium --with-deps
22+
- run: pnpm test

0 commit comments

Comments
 (0)