Skip to content

[#58] husky, lint-staged μ„€μ • #144

[#58] husky, lint-staged μ„€μ •

[#58] husky, lint-staged μ„€μ • #144

Workflow file for this run

name: ci
on: [push, pull_request]
jobs:
run-lint:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Configure Git
run: git config core.ignorecase false
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: '20'
- name: Cache node modules
uses: actions/cache@v3
id: cache
with:
path: node_modules
key: npm-packages-${{ hashFiles('**/package-lock.json') }}
- name: Install the project dependencies
if: steps.cache.outputs.cache-hit == false
run: npm ci
- name: Build
run: npm run build