chore(ci-deps): update actions/setup-node action to v4 #784
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: Verify | |
on: [pull_request] | |
jobs: | |
build: | |
name: Build | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [16.x, 18.x, 20.x] | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Setup Node | |
uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.node-version }} | |
cache: 'yarn' | |
- name: Install Dependencies | |
run: yarn install --immutable | |
- name: Check For Lint | |
run: yarn lint | |
- name: Run Unit Tests + Coverage | |
run: yarn test:cov | |
- name: Upload coverage to Codecov | |
if: matrix.node-version == '18.x' | |
uses: codecov/codecov-action@v3 | |
- name: Run Build | |
run: yarn build |