Add a sample article #25
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: Code Check | |
on: | |
push: | |
branches: | |
- main | |
pull_request: {} | |
concurrency: | |
group: ${{ github.job }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
lint: | |
name: ⬣ ESLint, ʦ TypeScript, and 💅 Prettier | |
runs-on: ubuntu-latest | |
steps: | |
- name: ⬇️ Checkout repo | |
uses: actions/checkout@v4 | |
- name: 🤌 Setup Bun | |
uses: oven-sh/setup-bun@v1 | |
- name: 📥 Download deps | |
run: bun install --frozen-lockfile | |
- name: 🔬 Lint | |
run: bun run lint:strict | |
- name: 🔎 Type check | |
run: bun run typecheck | |
- name: 💅 Prettier check | |
run: bun run format:check | |
continue-on-error: true |