Skip to content

Header is cache-control, not max-age #401

Header is cache-control, not max-age

Header is cache-control, not max-age #401

Workflow file for this run

name: Unit tests
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
unit-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Use Node.js 20.x
uses: actions/setup-node@v4
with:
node-version: "20.x"
- run: npm ci
- run: npm run build
env:
NODE_ENV: production
- run: npm run test:coverage
- name: Report Coverage
uses: davelosert/vitest-coverage-report-action@v2
check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Use Node.js 20.x
uses: actions/setup-node@v4
with:
node-version: "20.x"
- run: npm ci
- run: npm run build
env:
NODE_ENV: production
- run: npm run check