Add hovercards package #2
Workflow file for this run
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: Hovercards Type check / Lint / Build | |
on: | |
pull_request: | |
paths: | |
- 'web/packages/hovercards/**' | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [20] | |
steps: | |
- name: Checkout repo | |
uses: actions/checkout@v4 | |
- name: Set up working directory | |
run: cd web/packages/hovercards | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.node-version }} | |
cache: 'yarn' | |
- name: Install dependencies | |
run: yarn | |
- name: Type check | |
run: yarn type-check | |
- name: Lint | |
run: yarn lint | |
- name: Build | |
run: yarn build |