-
Notifications
You must be signed in to change notification settings - Fork 157
42 lines (40 loc) · 979 Bytes
/
e2e.yml
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
on:
pull_request:
types: [opened, synchronize, reopened]
push:
branches:
- 'main'
name: CI E2E
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}-test
cancel-in-progress: true
env:
CI: e2e
NODE_OPTIONS: --max-old-space-size=8192
HUSKY: 0
jobs:
e2e:
name: E2E
strategy:
fail-fast: false
matrix:
os: [macos-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- name: Install pnpm
run: npm install -g pnpm@9
- uses: actions/setup-node@v4
with:
node-version: 20
cache: 'pnpm'
- name: Install Python setuptools
if: matrix.os == 'macos-latest'
run: brew install python-setuptools
- name: Install appdmg
if: matrix.os == 'macos-latest'
run: npm install -g appdmg
- name: Install dependencies
run: pnpm install
- name: Run e2e
run: pnpm run test:e2e