chore(deps): bump next from 15.0.2 to 15.1.2 #1421
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: Validate | |
on: | |
push: | |
branches: ['master'] | |
pull_request: | |
branches: ['master'] | |
env: | |
SKIP_SIMPLE_GIT_HOOKS: 1 | |
permissions: | |
contents: read | |
jobs: | |
validate: | |
name: Validate | |
runs-on: ubuntu-latest | |
steps: | |
- name: Harden Runner | |
uses: step-security/harden-runner@0080882f6c36860b6ba35c610c98ce87d4e2f26f # v2.10.2 | |
with: | |
egress-policy: audit | |
- name: Checkout | |
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
with: | |
fetch-depth: 0 | |
- name: Install pnpm | |
uses: pnpm/action-setup@fe02b34f77f8bc703788d5817da081398fad5dd2 # v4.0.0 | |
- name: Install Node.js | |
uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4.1.0 | |
with: | |
node-version-file: '.nvmrc' | |
cache: 'pnpm' | |
- name: Install dependencies | |
run: pnpm install | |
- name: Validate current commit (last commit) with commitlint | |
if: github.event_name == 'push' | |
run: | | |
pnpm exec commitlint \ | |
--from ${{ github.event.before }} \ | |
--to ${{ github.event.after }} \ | |
--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 | |
- name: Format | |
run: pnpm run format:check | |
- name: Run the tests | |
run: pnpm test:unit |