Skip to content

Commit ca42b0a

Browse files
authored
test: add @webcontainer/test test cases (#72)
1 parent a0aa682 commit ca42b0a

File tree

13 files changed

+2598
-68
lines changed

13 files changed

+2598
-68
lines changed

.github/workflows/test.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: Test
2+
3+
on:
4+
pull_request:
5+
workflow_dispatch:
6+
push:
7+
branches: [main]
8+
9+
jobs:
10+
test:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: actions/checkout@v3
14+
- uses: actions/setup-node@v3
15+
with:
16+
node-version: 18
17+
cache: 'npm'
18+
19+
- run: npm ci
20+
21+
- name: Install Playwright Dependencies
22+
run: npx playwright install chromium firefox --with-deps --only-shell
23+
24+
- run: npm run test

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# Ignore patterns for repo config
22
/node_modules
3+
/test/__screenshots__
34

45
# Ignore patterns for templates
56
*/node_modules

0 commit comments

Comments
 (0)