-
Notifications
You must be signed in to change notification settings - Fork 0
56 lines (46 loc) · 1.23 KB
/
tests-e2e-js.yaml
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
name: "Test: UI E2E JS"
on:
push:
branches:
- master
pull_request:
branches:
- master
workflow_call:
workflow_dispatch:
jobs:
test:
runs-on: ubuntu-latest
name: "Run UI E2E tests"
env:
# xvfb is slow to start
NODE_TEST_TIMEOUT: 90000
steps:
- name: Checkout
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4
- name: Setup Just
uses: extractions/setup-just@6e1de3cc407de738551abd6c0923bd5ed5608042
with:
just-version: 1.29.0
- name: Setup Node
uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4
with:
node-version: 22.2.0
cache: 'npm'
- name: Setup Rust
uses: dtolnay/rust-toolchain@stable
with:
toolchain: stable
override: true
- name: Setup Rust Cache
uses: Swatinem/rust-cache@23bce251a8cd2ffc3c1075eaa2367cf899916d84 # v2
with:
cache-all-crates: true
cache-targets: true
cache-directories: |
.build
- name: Install Prerequisites
run: |
. <(just prerequisites)
- name: Run UI E2E tests
run: xvfb-run -a just test-e2e