pnpm version #48
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: | |
branches: | |
- master | |
jobs: | |
build: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-latest, macos-latest, windows-latest] | |
steps: | |
- name: Checkout Code | |
uses: actions/checkout@v4 | |
- name: Setup pnpm | |
uses: pnpm/action-setup@v2 | |
with: | |
version: 9 | |
- name: Install Dependencies | |
run: pnpm i | |
- name: Run Linter | |
run: pnpm run lint | |
- name: Run Tests | |
run: pnpm run test | |
- name: Clean Project | |
run: pnpm run clean | |
- name: Generate Files | |
run: pnpm run generate | |
- name: Build Project | |
run: pnpm run build | |
- name: Type Check | |
run: pnpm run type-check |