-
-
Notifications
You must be signed in to change notification settings - Fork 30
53 lines (46 loc) · 1.36 KB
/
e2e-test-windows.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
43
44
45
46
47
48
49
50
51
52
53
name: e2e-tests-windows
on:
pull_request:
branches:
- main
workflow_dispatch:
jobs:
e2e-build-n-test:
environment: staging
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [windows-latest]
node-version: [20.x]
steps:
- uses: actions/checkout@v4
- name: 💚 Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- name: 🧱 Install Dependencies
run: |
npm ci
- name: 📦 Bundle Application
env:
DEBUG: "*electron*"
SENTRY_DSN: ${{ secrets.SENTRY_DSN }}
MP_PROJECT_TOKEN: ${{ secrets.MP_PROJECT_TOKEN }}
MP_PROJECT_ENV: ${{ vars.MP_PROJECT_ENV }}
NICENODE_ENV: ${{ vars.NICENODE_ENV }}
NO_CODE_SIGNING: true
# run: npm run package
# if [ "$RUNNER_OS" == "macOS" ]; then
# npm run package -- --mac --x64
# elif [ "$RUNNER_OS" == "Windows" ]; then
# npm run package -- --win --x64
run: npm run make
- name: 🧪 Run Tests
uses: coactions/setup-xvfb@6b00cf1889f4e1d5a48635647013c0508128ee1a
with:
run: npm run wdio
- name: 🐛 Debug Build
uses: stateful/vscode-server-action@v1
if: failure()
with:
timeout: '120000'