Use latest LTS Node.js #2
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
name: CI | |
on: | |
push | |
permissions: {} | |
jobs: | |
test: | |
name: Run JS tests | |
runs-on: ubuntu-latest | |
env: | |
node: 'lts/*' | |
steps: | |
- uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac | |
- uses: actions/setup-node@5e21ff4d9bc1a8cf6de233a3057d20ec6b3fb69d | |
with: | |
node-version: ${{ env.node }} | |
cache: 'yarn' | |
- run: yarn install --frozen-lockfile | |
- run: yarn run test:ci | |
- name: Upload coverage report | |
uses: codecov/codecov-action@eaaf4bedf32dbdc6b720b63067d99c4d77d6047d | |
with: | |
directory: coverage |