chore(deps): update all non-major dependencies #33
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: | |
push: | |
branches: | |
- main | |
pull_request: | |
jobs: | |
typecheck: | |
name: Check TypeScript types | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Project | |
uses: actions/checkout@v4 | |
- name: Setup Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 22 | |
cache: yarn | |
- name: Install Dependencies | |
run: yarn --immutable | |
- name: Check types | |
run: yarn typecheck | |
formatting: | |
name: Formatting | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Project | |
uses: actions/checkout@v4 | |
- name: Setup Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 22 | |
cache: yarn | |
- name: Install Dependencies | |
run: yarn --immutable | |
- name: Run Prettier | |
run: yarn prettier --check . | |
commitlint: | |
name: Commit Message Linting | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Project | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Setup Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 22 | |
cache: yarn | |
- name: Install Dependencies | |
run: yarn --immutable | |
# https://commitlint.js.org/guides/ci-setup#github-actions | |
- name: Validate current commit (last commit) with commitlint | |
if: github.event_name == 'push' | |
run: yarn commitlint --last --verbose | |
- name: Validate PR commits with commitlint | |
if: github.event_name == 'pull_request' | |
run: yarn commitlint --from ${{ github.event.pull_request.head.sha }}~${{ github.event.pull_request.commits }} --to ${{ github.event.pull_request.head.sha }} --verbose | |
build: | |
name: Build | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Project | |
uses: actions/checkout@v4 | |
- name: Setup Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 22 | |
cache: yarn | |
- name: Install Dependencies | |
run: yarn --immutable | |
- name: Build | |
run: yarn build |