This repository was archived by the owner on May 29, 2023. It is now read-only.
File tree 5 files changed +35
-38
lines changed
5 files changed +35
-38
lines changed Original file line number Diff line number Diff line change
1
+ name : Web APIs CI
2
+
3
+ on : push
4
+
5
+ jobs :
6
+ ci :
7
+ # Setup part
8
+ runs-on : ubuntu-latest
9
+ steps :
10
+ - uses : actions/checkout@v2
11
+ - name : Use Node.js
12
+ uses : actions/setup-node@v1
13
+ with :
14
+ node-version : ' 12.x'
15
+ - name : Cache Node.js modules
16
+ uses : actions/cache@v2
17
+ with :
18
+ path : ~/.npm
19
+ key : ${{ runner.OS }}-node-${{ hashFiles('**/package-lock.json') }}
20
+ restore-keys : |
21
+ ${{ runner.OS }}-node-
22
+ ${{ runner.OS }}-
23
+ - name : Install dependencies
24
+ run : npm ci
25
+ # End of setup
26
+ - run : |
27
+ npm run build
28
+ npm run test
29
+ npm run lint
30
+ - name : Coveralls
31
+ uses : coverallsapp/github-action@master
32
+ with :
33
+ github-token : ${{ secrets.GITHUB_TOKEN }}
34
+ path-to-lcov : ./coverage/geolocation/lcov.info
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 4
4
5
5
[ ![ npm version] ( https://img.shields.io/npm/v/@ng-web-apis/geolocation.svg )] ( https://npmjs.com/package/@ng-web-apis/geolocation )
6
6
![ npm bundle size] ( https://img.shields.io/bundlephobia/minzip/@ng-web-apis/geolocation )
7
- [ ![ Travis (.com) ] ( https://img.shields.io/travis/ com/ng-web-apis/geolocation )] ( https://travis-ci .com/ng-web-apis/geolocation )
7
+ [ ![ .github/workflows/ci.yml ] ( https://github. com/ng-web-apis/geolocation/actions/workflows/ci.yml/badge.svg?branch=master )] ( https://github .com/ng-web-apis/geolocation/actions/workflows/ci.yml )
8
8
[ ![ Coveralls github] ( https://img.shields.io/coveralls/github/ng-web-apis/geolocation )] ( https://coveralls.io/github/ng-web-apis/geolocation?branch=master )
9
9
[ ![ angular-open-source-starter] ( https://img.shields.io/badge/made%20with-angular--open--source--starter-d81676?logo=angular )] ( https://github.com/TinkoffCreditSystems/angular-open-source-starter )
10
10
Original file line number Diff line number Diff line change 18
18
"compile:server" : " tsc -p ./projects/demo/tsconfig.ssr.json" ,
19
19
"generate:prerender" : " node dist/demo/ssr/prerender" ,
20
20
"test" : " ng test" ,
21
- "posttest" : " node scripts/coveralls.js" ,
22
21
"postadd" : " git add ./projects" ,
23
22
"lint" : " ng lint" ,
24
23
"typecheck" : " tsc --noEmit --skipLibCheck" ,
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments