Updated version to v9.0.0-alpha.3 #596
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: Build | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
build: | |
runs-on: ubuntu-22.04 | |
name: Build | |
steps: | |
- name: Checkout current commit/branch/tag | |
uses: actions/checkout@v4 | |
- name: Set up pnpm | |
uses: pnpm/action-setup@v3 | |
with: | |
version: 8 | |
- name: Set up Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 18 | |
cache: pnpm | |
- name: Install dependencies | |
run: pnpm install | |
env: | |
NODE_ENV: development | |
- name: Run typecheck | |
run: pnpm typecheck | |
- name: Run linter | |
run: pnpm lint | |
- name: Run prettier | |
run: pnpm prettier:check | |
- name: Run tests | |
run: pnpm test | |
- name: Build app | |
run: pnpm build | |
env: | |
NODE_ENV: production |