Skip to content

Commit dc99379

Browse files
committed
feat(gh-action): So long and thanks for all the fish travis-ci
1 parent b1ddc60 commit dc99379

File tree

3 files changed

+39
-21
lines changed

3 files changed

+39
-21
lines changed

.editorconfig

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,12 @@ insert_final_newline = true
99
trim_trailing_whitespace = true
1010
end_of_line = lf
1111

12-
[{package.json,ng-package.json,angular.json,tslint.json,karma.conf.js,tsconfig*.json,test.ts,main.ts,polyfills.ts,.travis.yml}]
12+
[{package.json,ng-package.json,angular.json,tslint.json,karma.conf.js,tsconfig*.json,test.ts,main.ts,polyfills.ts}]
1313
indent_size = 2
1414

1515
[*.md]
1616
max_line_length = off
1717
trim_trailing_whitespace = false
18+
19+
[*.yml]
20+
indent_size = 2

.github/workflows/main.yml

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
# This is a basic workflow to help you get started with Actions
2+
3+
name: CI
4+
5+
on: [ push, pull_request, workflow_dispatch ]
6+
7+
jobs:
8+
build:
9+
runs-on: ubuntu-latest
10+
strategy:
11+
max-parallel: 4
12+
matrix:
13+
node-version: [ 14.x, 15.x ]
14+
steps:
15+
- name: checkout
16+
uses: actions/checkout@v2
17+
18+
- name: Use Node.js ${{ matrix.node-version }}
19+
uses: actions/setup-node@v1
20+
with:
21+
node-version: ${{ matrix.node-version }}
22+
23+
- name: yarn, lint, audit, build, test
24+
run: |
25+
yarn
26+
yarn lint
27+
yarn audit
28+
yarn build --prod
29+
yarn test --code-coverage
30+
31+
- name: Coveralls
32+
uses: coverallsapp/github-action@master
33+
with:
34+
github-token: ${{ secrets.GITHUB_TOKEN }}
35+
path-to-lcov: ./coverage/lcov.info

.travis.yml

Lines changed: 0 additions & 20 deletions
This file was deleted.

0 commit comments

Comments
 (0)