This repository was archived by the owner on Jan 15, 2025. It is now read-only.
Add more info about environment #263
Workflow file for this run
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
on: push | |
name: CI | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@master | |
- name: check node version | |
run: node --version | |
- name: check npm version | |
run: npm --version | |
- name: check npx version | |
run: npx --version | |
- name: check c8 version | |
run: npx c8 --version | |
- name: npm install | |
run: npm install | |
- name: lint | |
run: npm run lint | |
- name: compile typescript | |
run: tsc | |
- name: test | |
run: npx c8 npx jest | |
- name: coverage | |
run: npx c8 check-coverage --lines 99 --functions 99 --branches 99 --statements 99 | |
- name: examples do not crash | |
run: for f in examples/*.js; do node $f || exit 1; done |