Node CI #410
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Node CI | |
on: | |
push: | |
branches: '*' | |
pull_request: | |
branches : '*' | |
schedule: | |
- cron: '0 0 * * 0' | |
jobs: | |
build: | |
runs-on: macOS-latest | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Use Node.js 13 | |
uses: actions/setup-node@v1 | |
with: | |
node-version: '13' | |
- name: git submodule init, update | |
run: | | |
git submodule init | |
git submodule update | |
- name: npm install and test | |
run: | | |
npm install | |
npm run test | |
npm run coverage | |
- name: Coveralls GitHub Action | |
uses: coverallsapp/github-action@master | |
with: | |
github-token: ${{ secrets.GITHUB_TOKEN }} | |
env: | |
CI: true |