Format #263
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 20.x and ubuntu-latest | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Use Node.js 20.x | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 20.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) |