Bump to version 4.3.0 for release via CD #228
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: CI | |
on: | |
pull_request: | |
branches: [master] | |
concurrency: ci-${{ github.ref }} | |
jobs: | |
format: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: P5-wrapper/setup-action@v1.0.6 | |
- name: Check formatting | |
run: pnpm format:check | |
- name: Formatting issues detected (attempting fix...) | |
if: ${{ failure() }} | |
run: pnpm format | |
- name: Commit fixed formatting issues | |
uses: stefanzweifel/git-auto-commit-action@v5 | |
with: | |
commit_message: Apply fixed formatting issues | |
branch: ${{ github.head_ref }} | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: P5-wrapper/setup-action@v1.0.6 | |
- name: Lint | |
run: pnpm lint | |
- name: Linting issues detected (attempting fix...) | |
if: ${{ failure() }} | |
run: pnpm lint:fix | |
- name: Commit fixed linting issues | |
uses: stefanzweifel/git-auto-commit-action@v5 | |
with: | |
commit_message: Apply fixed linting issues | |
branch: ${{ github.head_ref }} | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: P5-wrapper/setup-action@v1.0.6 | |
- name: Test | |
run: pnpm test | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: P5-wrapper/setup-action@v1.0.6 | |
- name: Build | |
run: pnpm build |