generated from cawa-93/vite-electron-builder
-
-
Notifications
You must be signed in to change notification settings - Fork 0
41 lines (35 loc) · 775 Bytes
/
tests.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
name: Tests
on:
push:
branches:
- main
paths:
- 'packages/**'
- 'tests/**'
- 'package-lock.json'
- '.github/workflows/tests.yml'
pull_request:
paths:
- 'packages/**'
- 'tests/**'
- 'package-lock.json'
- '.github/workflows/tests.yml'
defaults:
run:
shell: 'bash'
jobs:
e2e:
strategy:
matrix:
os: [ windows-latest ]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 16 # Need for npm >=7.7
cache: 'npm'
# TODO: Install not all dependencies, but only those required for this workflow
- name: Install dependencies
run: npm ci
- run: npm test