-
Notifications
You must be signed in to change notification settings - Fork 0
47 lines (43 loc) · 1.23 KB
/
main.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
on:
pull_request:
types: [opened, synchronize]
jobs:
eslint:
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@v2
- uses: actions/[email protected]
with:
node-version: '12'
- name: ESLint
uses: betrybe/[email protected]
with:
token: ${{ secrets.GITHUB_TOKEN }}
stylelint:
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@v2
- uses: actions/[email protected]
with:
node-version: '12'
- name: Stylelint
uses: betrybe/stylelint-linter-action@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
evaluator_job:
runs-on: ubuntu-18.04
name: Evaluator job
steps:
- uses: actions/checkout@v2
- name: Cypress evaluator step
id: cypress
uses: betrybe/cypress-evaluator-action@v5
with:
repository-test-name: 'betrybe/sd-0x-project-todo-list-tests'
repository-test-branch: 'master'
- name: Store evaluation step
uses: betrybe/store-evaluation-action@v2
with:
evaluation-data: ${{ steps.cypress.outputs.result }}
environment: production
pr-number: ${{ steps.cypress.outputs.pr-number }}