Skip to content

chore(deps): update actions/cache action to v4 #8

chore(deps): update actions/cache action to v4

chore(deps): update actions/cache action to v4 #8

Workflow file for this run

name: Quality checks
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
on:
pull_request:
paths-ignore:
- '**/*.md'
workflow_dispatch:
jobs:
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/[email protected]
with:
show-progress: false
- name: Setup node environment
uses: actions/[email protected]
with:
node-version: 20
check-latest: true
- uses: pnpm/action-setup@v3
name: Install pnpm
with:
version: 8
run_install: false
- name: Get pnpm store directory
shell: bash
run: |
echo "STORE_PATH=$(pnpm store path --silent)" >> $GITHUB_ENV
- uses: actions/cache@v4
name: Setup pnpm cache
with:
path: ${{ env.STORE_PATH }}
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-pnpm-store-
- name: Install dependencies
run: pnpm install
- name: Run linter
run: pnpm run lint
conventional_commits:
name: Conventional commits check
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/[email protected]
with:
show-progress: false
- name: Check if all commits comply with the specification
uses: webiny/[email protected]