-
Notifications
You must be signed in to change notification settings - Fork 2
37 lines (31 loc) · 1.42 KB
/
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
30
31
32
33
34
35
36
37
# # This workflow will do a clean install of node dependencies, build the source code and run tests
# # For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
# name: CI Pipeline
# # trigger build when pushing, or when creating a pull request
# on: [push, pull_request]
# jobs:
# build:
# # run build on latest ubuntu
# runs-on: ubuntu-latest
# steps:
# # this will check out the current branch (https://github.com/actions/checkout#Push-a-commit-using-the-built-in-token)
# - uses: actions/checkout@v2
# # installing Node
# - name: Use Node.js 12.x
# uses: actions/setup-node@v1
# with:
# # this will use the latest Node 12 version
# node-version: 12.x
# # install dependencies using clean install to avoid package lock updates
# - run: npm ci
# # build the project if necessary
# # - run: npm run build --if-present
# - run: npm run lint
# - run: npm run test
# # finally run the tests
# # - run: npm run test:coverage
# # Save coverage report in Coveralls
# - name: Coveralls
# uses: coverallsapp/github-action@master
# with:
# github-token: ${{ secrets.GITHUB_TOKEN }}