Skip to content

⬆️ Update dependencies (new Documentation theme) #76

⬆️ Update dependencies (new Documentation theme)

⬆️ Update dependencies (new Documentation theme) #76

Workflow file for this run

name: Node CI
on:
push:
branches:
- master
paths:
- '**.js'
pull_request:
branches:
- master
paths:
- '**.js'
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: '*'
- name: prepare coverage
run: |
curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
chmod +x ./cc-test-reporter
./cc-test-reporter before-build
- name: npm install, build, and test
run: |
npm install
npm run build
npm run testci
- name: coverage
run: |
./cc-test-reporter format-coverage -t lcov
./cc-test-reporter upload-coverage
env:
CI: true
CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }}