Skip to content

Update dependencies #84

Update dependencies

Update dependencies #84

name: publish
on:
push:
branches:
- master
jobs:
build:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
with:
persist-credentials: false
show-progress: false
- uses: actions/setup-node@v4
with:
cache: npm
cache-dependency-path: package-lock.json
node-version: '21.7.1'
- name: install dependencies
run: npm ci --no-audit --omit=dev --prefer-offline
- name: compile
run: node scripts/compile.js
- uses: actions/upload-pages-artifact@v3
with:
path: ./public
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
needs: build
permissions:
id-token: write
pages: write
runs-on: ubuntu-22.04
steps:
- id: deployment
uses: actions/deploy-pages@v4