Skip to content

chore(husky): switch hooks to the new version #154

chore(husky): switch hooks to the new version

chore(husky): switch hooks to the new version #154

Workflow file for this run

name: Test
on:
push:
branches:
- '*'
pull_request:
branches:
- develop
- main
env:
CACHE_KEY: ${{ github.sha }}-${{ github.run_number }}-${{ github.run_attempt }}
CACHE_PATH: ./*
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup pnpm
uses: pnpm/action-setup@v4
with:
version: 9.4.0
- name: Setup node.js
uses: actions/setup-node@v4
with:
cache: pnpm
node-version: 22.3.0
- name: Cache
uses: actions/cache@v3
with:
key: ${{ env.CACHE_KEY }}
path: ${{ env.CACHE_PATH }}
- name: Build
run: |
pnpm install --frozen-lockfile --prefer-offline
pnpm run build
- name: Run tests
run: pnpm run test