fix: format #356
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: dev ci | |
on: | |
push: | |
branches: | |
- '*' # matches every branch that doesn't contain a '/' | |
- '*/*' # matches every branch containing a single '/' | |
- '**' # matches every branch | |
- '!main' | |
# This allows a subsequently queued workflow run to interrupt previous runs | |
concurrency: | |
group: '${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }}' | |
cancel-in-progress: true | |
jobs: | |
build-local: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- uses: dafnik/setup-node-pnpm@v3 | |
with: | |
install-ignore-scripts: true | |
- name: Build | |
run: pnpm build:local | |
build-lava: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- uses: dafnik/setup-node-pnpm@v3 | |
with: | |
install-ignore-scripts: true | |
- name: Build | |
run: pnpm build:lava | |
build-prod: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- uses: dafnik/setup-node-pnpm@v3 | |
with: | |
install-ignore-scripts: true | |
- name: Build | |
run: pnpm build:prod | |
prettier: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- uses: dafnik/setup-node-pnpm@v3 | |
with: | |
install-ignore-scripts: true | |
- name: Style check | |
run: pnpm format:check | |
tsc: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- uses: dafnik/setup-node-pnpm@v3 | |
with: | |
install-ignore-scripts: true | |
- name: Build project | |
run: pnpm tsc:check | |
commitlint: | |
name: Commitlint Check | |
runs-on: ubuntu-latest | |
steps: | |
# Needed to get the commitlint config | |
- name: Checkout Repository | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Run commitlint | |
uses: dafnik/commitlint@v1 |