-
Notifications
You must be signed in to change notification settings - Fork 30
29 lines (24 loc) · 915 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
# This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
name: Build and Test Pull Requests & Main Syncs
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout Project
uses: actions/checkout@v2
- name: Install dependencies
run: npm install
- name: Test & publish code coverage
uses: paambaati/[email protected]
env:
CC_TEST_REPORTER_ID: f005d141fc577a07c6e32bc71609eb6a52815e2a3c0ae4aa6d359ba447442cc0
with:
coverageCommand: npm run cypress:ci:report
coverageLocations: |
${{github.workspace}}/coverage/*.lcov:lcov