Skip to content

feat: refactor based on sveltia-cms-auth #4

feat: refactor based on sveltia-cms-auth

feat: refactor based on sveltia-cms-auth #4

name: Lint, format and test
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
lint-format-test:
name: Lint, format and test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Cache node modules
uses: actions/cache@v4
with:
path: node_modules
key: ${{ runner.OS }}-build-${{ hashFiles('**/package-lock.json') }}
- name: Install dependencies and lint files
run: |
npm ci
npm run lint
npm run format
npm run test