Skip to content

build(deps): bump actions/cache from 4 to 5 #41

build(deps): bump actions/cache from 4 to 5

build(deps): bump actions/cache from 4 to 5 #41

Workflow file for this run

name: CI tests
on: [pull_request]
jobs:
check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup node
uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'
registry-url: 'https://registry.npmjs.org'
- uses: pnpm/action-setup@v4
with:
version: 10.0.0
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Lint files
run: pnpm run lint
- name: Validate PR commits with commitlint
if: github.event_name == 'pull_request'
run: npx commitlint --from ${{ github.event.pull_request.head.sha }}~${{ github.event.pull_request.commits }} --to ${{ github.event.pull_request.head.sha }} --verbose
- name: Run tests
run: npm test