-
Notifications
You must be signed in to change notification settings - Fork 0
68 lines (59 loc) · 1.6 KB
/
dev.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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
name: QA CI
on:
push:
branches: [main]
pull_request:
branches: [main]
workflow_dispatch:
jobs:
lint:
runs-on: ubuntu-18.04
steps:
- name: Project checkout
uses: actions/checkout@v2
- name: Node.js Setup
uses: actions/setup-node@v2.1.4
- name: Instalação das dependências do Node.js
run: npm run simple_build
- name: Standard Lint
run: npm run lint:fix
testes-de-contrato:
runs-on: ubuntu-18.04
strategy:
matrix:
node: [10]
steps:
- name: Project checkout
uses: actions/checkout@v2
- name: Node.js v${{ matrix.node }} Setup
uses: actions/setup-node@v2.1.4
with:
node-version: ${{ matrix.node }}
- name: Instalação das dependências do Node.js
run: npm run simple_build
- name: Testes de contrato
run: npm run test:contracts
env:
APP_URL: "https://serverest.dev"
CI: true
testes-de-integracao:
runs-on: ubuntu-18.04
strategy:
matrix:
node: [10]
steps:
- name: Project checkout
uses: actions/checkout@v2
- name: Node.js v${{ matrix.node }} Setup
uses: actions/setup-node@v2.1.4
with:
node-version: ${{ matrix.node }}
- name: Instalação das dependências do Node.js
run: npm run simple_build
- name: Testes de integração
run: npm run test:integrations
env:
APP_URL: "https://serverest.dev"
EMAIL: ${{ secrets.EMAIL }}
PASSWORD: ${{ secrets.PASSWORD }}
CI: true