Bump the npm_and_yarn group across 2 directories with 1 update #686
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: | |
workflow_dispatch: | |
permissions: | |
contents: read | |
pull-requests: read | |
checks: write | |
statuses: write | |
actions: write | |
jobs: | |
build: | |
name: 'Validate with Node ${{ matrix.node-version }}' | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
node-version: ['22', '20', '18'] # We only support LTS versions of Node.js that are still maintained | |
steps: | |
- name: Checkout branch | |
uses: actions/checkout@v4 | |
- name: Install pnpm | |
uses: pnpm/action-setup@v4 | |
- name: Setup Node with ${{ matrix.node-version }} | |
uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.node-version }} | |
check-latest: true | |
- name: Install dependencies | |
run: pnpm install | |
- name: Build packages | |
run: pnpm build:packages | |
- name: Lint | |
run: pnpm lint | |
- name: Typecheck | |
run: pnpm typecheck |