Misc #95
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: Push | |
on: push | |
jobs: | |
test: | |
name: Lint, build, and test on node 16.x and ubuntu-latest | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Use Node.js 16.x | |
uses: actions/setup-node@v1 | |
with: | |
node-version: 16.x | |
- name: Install deps (with cache) | |
uses: bahmutov/npm-install@v1 | |
- name: Lint codebase | |
run: yarn lint | |
- name: Build codebase | |
run: yarn build | |
- name: Test codebase | |
run: yarn test --coverage | |
- name: Upload coverage | |
run: bash <(curl -s https://codecov.io/bash) |