forked from ChainSafe/WebZjs
-
Notifications
You must be signed in to change notification settings - Fork 0
40 lines (31 loc) · 807 Bytes
/
e2e-tests.yml
File metadata and controls
40 lines (31 loc) · 807 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
name: Playwright Tests
on:
pull_request:
push:
branches: main
jobs:
test:
timeout-minutes: 60
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install Just
uses: extractions/setup-just@v2
- name: install wasm-pack
uses: jetli/wasm-pack-action@v0.4.0
with:
version: latest
- name: build pkg
run: just build
- uses: actions/setup-node@v4
with:
node-version: lts/*
- run: corepack enable
- name: Install dependencies
run: yarn install --immutable
- name: Install Playwright Browsers
working-directory: ./packages/e2e-tests/
run: yarn playwright install --with-deps
- name: Run Playwright tests
if: false # Skip e2e test
run: yarn run test:e2e