Skip to content

feat: website

feat: website #8

Workflow file for this run

name: Build and Test
on:
push:
paths-ignore:
- "README.md"
pull_request:
branches: [main]
paths-ignore:
- "README.md"
jobs:
build_and_test:
runs-on: ubuntu-latest
strategy:
matrix:
node: [16, 18, 20]
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: Setup Hugo
uses: peaceiris/actions-hugo@v2
with:
hugo-version: "latest"
extended: true
- name: Install project
run: npm ci
- name: Run tests
run: npm test