Skip to content

feat: use pagefind for searching (resolves #262, #227, #153) #123

feat: use pagefind for searching (resolves #262, #227, #153)

feat: use pagefind for searching (resolves #262, #227, #153) #123

Workflow file for this run

name: CI
on:
pull_request:
branches: [ main ]
jobs:
test:
runs-on: ubuntu-latest
env:
HEADLESS: true
steps:
- uses: actions/checkout@v3
- name: Cache node modules
uses: actions/cache@v3
with:
path: node_modules
key: ${{ runner.OS }}-build-${{ hashFiles('**/package-lock.json') }}
- name: Install dependencies
run: |
npm i
env:
CI: true
- name: Lint files
run: |
npm run lint
env:
CI: true
- name: Build site
run: |
npm run build
- name: Node tests
run: npm run test