Skip to content

Migrate site to Astro and GitHub Pages #1

Migrate site to Astro and GitHub Pages

Migrate site to Astro and GitHub Pages #1

Workflow file for this run

name: Main CI
on:
pull_request:
branches:
- '**'
workflow_call:
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version-file: '.node-version'
cache: 'npm'
- run: npm ci
- run: npm run lint
- run: npm run build
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: dist