chore: housekeeping #8
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: | ||
- main | ||
pull_request: | ||
branches: | ||
- main | ||
env: | ||
PR_NUMBER: '${{ github.event.number }}' | ||
SOURCE_BRANCH: $GITHUB_HEAD_REF | ||
FIXER_BRANCH: auto-fixed/$GITHUB_HEAD_REF | ||
TITLE: Apply fixes from JS-CS-Fixer | ||
DESCRIPTION: This merge request applies JS code style fixes from an analysis carried out through GitHub Actions. | ||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} | ||
cancel-in-progress: true | ||
jobs: | ||
lint: | ||
steps: | ||
Check failure on line 25 in .github/workflows/ci.yml GitHub Actions / CIInvalid workflow file
|
||
- uses: actions/checkout@v4 | ||
- name: Install bun | ||
uses: oven-sh/setup-bun@v1 | ||
- name: Lint | ||
run: bun run lint | ||
typecheck: | ||
runs-on: ${{ matrix.os }} | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Install bun | ||
uses: oven-sh/setup-bun@v1 | ||
- name: Install dependencies | ||
run: bun install | ||
- name: Typecheck | ||
run: bun --bun run typecheck | ||
test: | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Install bun | ||
uses: oven-sh/setup-bun@v1 | ||
- name: Install Dependencies | ||
run: bun install | ||
- name: Unit Test | ||
run: bun test |