Skip to content

chore: apply audit fix to lockfile #103

chore: apply audit fix to lockfile

chore: apply audit fix to lockfile #103

Workflow file for this run

name: ci
on:
merge_group:
types: [checks_requested]
push:
branches:
- main
- bugfixes
- develop
pull_request:
branches:
- main
- bugfixes
- develop
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.ref }}
cancel-in-progress: true
jobs:
commit-lint:
runs-on: ubuntu-latest
steps:
- name: Checkout πŸ›Ž
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup pnpm
uses: pnpm/action-setup@v4
- name: Setup node env πŸ—
uses: actions/setup-node@v4
with:
cache: pnpm
node-version-file: .nvmrc
- name: Install dependencies πŸ‘¨πŸ»β€πŸ’»
run: pnpm install --frozen-lockfile
- name: Validate current commit (last commit) with commitlint
if: github.event_name == 'push'
run: pnpm exec commitlint --from HEAD~1 --to HEAD --verbose
- name: Validate PR commits with commitlint
if: github.event_name == 'pull_request'
run: pnpm exec commitlint --from ${{ github.event.pull_request.base.sha }} --to ${{ github.event.pull_request.head.sha }} --verbose
ci:
runs-on: ubuntu-latest
steps:
- name: Checkout πŸ›Ž
uses: actions/checkout@v4
- name: Setup pnpm
uses: pnpm/action-setup@v4
- name: Setup node env πŸ—
uses: actions/setup-node@v4
with:
cache: pnpm
node-version-file: .nvmrc
- name: Install dependencies πŸ‘¨πŸ»β€πŸ’»
run: pnpm install --frozen-lockfile
- name: Run linter πŸ‘€
run: pnpm run lint
- name: Build
run: pnpm run build