-
-
Notifications
You must be signed in to change notification settings - Fork 5
37 lines (34 loc) · 886 Bytes
/
ci.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
name: CI
on:
push:
branches:
- main
pull_request:
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
# don't run in macos due to
# https://github.com/electron/packager/issues/1444
os: [ubuntu-latest, windows-latest]
node-version: [20.x]
steps:
- uses: actions/checkout@v3
- name: 💚 Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: 🧱 Install Dependencies
run: npm ci
- name: 📦 Bundle Application
run: npm run package
- name: 🧪 Run Tests
uses: coactions/setup-xvfb@v1
with:
run: npm test
- name: 🐛 Debug Build
uses: stateful/vscode-server-action@v1
if: failure()
with:
timeout: '120000'