Skip to content

chore(root): add commit hooks & nvm #18

chore(root): add commit hooks & nvm

chore(root): add commit hooks & nvm #18

Workflow file for this run

name: PR checks
permissions: read-all
on:
workflow_dispatch:
pull_request:
types: [opened, reopened, ready_for_review, synchronize]
jobs:
static-analysis-tests:
name: "Static analysis tests"
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 #v4.1.1
- name: Setup node
uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 #4.0.2
with:
node-version: 20
- name: Cache dependencies
uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 #v4.0.2
with:
path: |
packages/*/node_modules
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node
- name: Install dependencies
run: |
npm ci
- name: Build test app
run: npm run build
- name: Prettier
run: npm run prettier