Merge pull request #290 from quiltt/dependabot/npm_and_yarn/npm_and_y… #603
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 | |
jobs: | |
build: | |
name: 'Validate with Node ${{ matrix.node-version }}' | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
node-version: ['current', '18'] | |
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 |