Bump github action node version #64
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: Test and lint 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' | |
- name: Install deps (with cache) | |
uses: bahmutov/npm-install@v1 | |
- name: Test codebase | |
run: yarn test | |
- name: Upload coverage | |
run: bash <(curl -s https://codecov.io/bash) |