Add Drips article #196
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] | |
merge_group: | |
pull_request: | |
branches: [master] | |
# 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 Asset Builder | |
working-directory: ./blog | |
run: pnpm run build:assets | |
- name: Run typecheck | |
working-directory: ./blog | |
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 Asset Builder | |
working-directory: ./blog | |
run: pnpm run build:assets | |
- name: Run eslint | |
working-directory: ./blog | |
run: pnpm run lint | |
sanity: | |
name: π§ Sanity | |
runs-on: ubuntu-20.04 | |
env: | |
FORCE_COLOR: true | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- uses: ./.github/actions/sanity | |
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: ./blog | |
run: pnpm run build |