Skip to content

Bump the npm group with 15 updates (#3) #23

Bump the npm group with 15 updates (#3)

Bump the npm group with 15 updates (#3) #23

Workflow file for this run

name: CI
on:
push:
branches:
- '**'
tags:
- '!**' # Don't run twice on commits with tags
pull_request:
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: 20
- name: Cache Node Modules
id: cache-node-modules
uses: actions/cache@v4
with:
path: node_modules
key: node-modules-${{ runner.os }}-${{ hashFiles('package-lock.json') }}
- name: Install node dependencies
if: steps.cache-node-modules.outputs.cache-hit != 'true'
run: npm ci
- name: Check Site
run: npm run check
- name: Render Site
run: npm run build
- name: Upload Artifact
uses: actions/upload-pages-artifact@v3
with:
path: ./build
deploy:
needs: build
if: github.ref == 'refs/heads/main'
permissions:
pages: write
id-token: write
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4