forked from react-csv/react-csv
-
Notifications
You must be signed in to change notification settings - Fork 0
31 lines (29 loc) · 684 Bytes
/
ci.yaml
File metadata and controls
31 lines (29 loc) · 684 Bytes
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
name: Continuous Integration
on:
push:
branches:
- master
pull_request:
jobs:
build:
runs-on: ubuntu-latest
env:
NPM_TOKEN: ""
steps:
- uses: actions/checkout@v2
- name: Use Node.js 16.x
uses: actions/setup-node@v2
with:
node-version: '16'
cache: 'npm'
- name: Install
run: npm install #ci --prefer-offline
- name: Test
run: npm run test
- name: Coverage
run: npm run coveralls
# Save coverage report in Coveralls
- name: Coveralls
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}