chore(deps): update all non-major dependencies #2554
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: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
build: | |
name: Lint and test | |
runs-on: ubuntu-latest | |
env: | |
CI: true | |
strategy: | |
fail-fast: false | |
matrix: | |
node-version: [18, 20] | |
steps: | |
- uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4 | |
- name: Setup node | |
uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.node-version }} | |
cache: yarn | |
- name: yarn install | |
run: yarn | |
- name: Unittesting | |
run: yarn test | |
- name: Linting | |
if: ${{ matrix.node-version == '18' }} | |
run: yarn lint |