chore(deps): update actions/setup-node action to v3.8.2 #2322
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: Test | |
on: | |
push: | |
branches: | |
- 'master' | |
jobs: | |
lint: | |
name: Lint and type check | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/[email protected] | |
with: | |
node-version: '20.5.0' | |
- name: Lint | |
uses: borales/actions-yarn@v4 | |
with: | |
cmd: lint | |
- name: Build typings (type check) | |
uses: borales/actions-yarn@v4 | |
with: | |
cmd: build | |
- name: Test build of documentatation | |
uses: borales/actions-yarn@v4 | |
with: | |
cmd: docs:build | |
test: | |
name: Test and upload coverage | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/[email protected] | |
with: | |
node-version: '20.5.0' | |
- name: Test and generate coverage | |
uses: borales/actions-yarn@v4 | |
with: | |
cmd: coverage | |
env: | |
YOUTUBE_API_KEY: ${{ secrets.YOUTUBE_API_KEY }} | |
- name: Upload coverage to Codecov | |
uses: codecov/codecov-action@v3 | |
with: | |
token: ${{ secrets.CODECOV_TOKEN }} | |
files: ./coverage/coverage-final.json |