feat: add pnpm workspace catalog for centralised dependency management #565
Workflow file for this run
This file contains hidden or 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: Test | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@71cf2267d89c5cb81562390fa70a37fa40b1305e # v6-beta | |
| - name: Install pnpm | |
| uses: pnpm/action-setup@41ff72655975bd51cab0327fa583b6e92b6d3061 # v4.2.0 | |
| - name: 💫 Install dependencies | |
| run: pnpm install --frozen-lockfile | |
| - name: 🏡 Build package | |
| run: pnpm run build | |
| - name: 🧪 Run tests | |
| run: pnpm test |