forked from chuva-inc/exercicios-2024
-
Notifications
You must be signed in to change notification settings - Fork 0
46 lines (39 loc) · 868 Bytes
/
ts.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
name: ts
on:
push:
paths:
- 'ts/**'
jobs:
build:
runs-on: ubuntu-latest
container:
image: cypress/included:10.11.0
timeout-minutes: 5
env:
ELECTRON_EXTRA_LAUNCH_ARGS: '--disable-gpu'
steps:
- name: Use Node.js 14.21.2
uses: actions/setup-node@v1
with:
node-version: 14.21.2
- uses: actions/checkout@v2
- name: npm install
run: |
cd ts;
npm install;
- name: run test
run: |
cd ts;
npm run test
- name: Stores screenshots
uses: actions/upload-artifact@v3
with:
name: cypress-screenshots
path: ./ts/cypress/screenshots
if: always()
- name: Stores snapshots
uses: actions/upload-artifact@v3
with:
name: cypress-snapshots
path: ./ts/cypress/snapshots
if: always()