Skip to content

feature: update to ubuntu 24 #83

feature: update to ubuntu 24

feature: update to ubuntu 24 #83

Workflow file for this run

name: PR
on:
pull_request:
branches:
- main
jobs:
pr:
runs-on: ubuntu-24.04
timeout-minutes: 15
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'
- uses: actions/cache@v3
id: npm-cache
with:
path: '**/node_modules'
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: ${{ runner.os }}-node-
- name: npm ci
run: npm ci
if: steps.npm-cache.outputs.cache-hit != 'true'
- run: npm test
- name: Build static site
run: node scripts/build-static.js