Migrate to V2 #1
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: π | |
on: | |
push: | |
branches: [master,main] | |
merge_group: | |
pull_request: | |
branches: [master,main] | |
# Automatically cancel in-progress actions on the same branch | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.event_name == 'pull_request_target' && github.head_ref || github.ref }} | |
cancel-in-progress: true | |
env: | |
NODE_OPTIONS: "--max_old_space_size=8192" | |
jobs: | |
typecheck: | |
name: π¦ Typescript | |
runs-on: ubuntu-20.04 | |
env: | |
FORCE_COLOR: true | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: Install Tools & Dependencies | |
uses: ./.github/actions/install | |
- name: Run typecheck | |
working-directory: ./app | |
run: pnpm run typecheck | |
eslint: | |
name: π Linting | |
runs-on: ubuntu-20.04 | |
env: | |
FORCE_COLOR: true | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Install Tools & Dependencies | |
uses: ./.github/actions/install | |
- name: Run eslint | |
working-directory: ./app | |
run: pnpm run lint | |
build: | |
name: π οΈ Build | |
runs-on: ubuntu-20.04 | |
env: | |
FORCE_COLOR: true | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Install Tools & Dependencies | |
uses: ./.github/actions/install | |
- name: Build | |
working-directory: ./app | |
run: pnpm run build |