chore(deps): update all dependencies #734
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: Main workflow | |
# The event triggers are configured as following: | |
# - on any pull request, trigger the workflow | |
# This is to avoid running the workflow twice on pull requests. | |
on: | |
pull_request: | |
jobs: | |
build_lint_and_test: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node: [20, 22] | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Install pnpm | |
uses: pnpm/action-setup@v4.0.0 | |
with: | |
run_install: false | |
- name: Setup Node ${{ matrix.node }} | |
uses: actions/setup-node@v4 | |
with: | |
node-version: "${{ matrix.node }}" | |
cache: pnpm | |
- name: Install dependencies | |
run: pnpm install | |
- name: Building packages | |
run: pnpm build | |
- name: Running static type checking | |
run: pnpm typecheck | |
- name: Running linters and tests | |
run: pnpm jest --projects jest.{eslint,test}.config.js --reporters jest-silent-reporter | |
env: | |
CI: true |