Migrate the repo to a PNPM@7-based monorepo with apps and libraries #9
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: CI | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
jobs: | |
test: | |
name: Master CI | |
runs-on: ubuntu-latest | |
env: | |
CI: true | |
strategy: | |
matrix: | |
node-version: ['latest'] | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup PNPM | |
uses: pnpm/action-setup@v3 | |
with: | |
version: 7 | |
- name: Setup Node ${{ matrix.node }} | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node }} | |
check-latest: true | |
cache: pnpm | |
- name: Install packages | |
run: pnpm install --frozen-lockfile | |
- name: Lint | |
run: pnpm run ci:lint | |
- name: Build | |
run: pnpm run ci:build | |
- name: Test | |
run: pnpm run ci:test |