Skip to content

update deps

update deps #25

Workflow file for this run

# https://docs.github.com/ja/pages/getting-started-with-github-pages/using-custom-workflows-with-github-pages
name: Deploy
on:
push:
branches: ["main"]
jobs:
build:
runs-on: ubuntu-latest
timeout-minutes: 15
steps:
- name: Checkout
uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: "22"
- run: npm ci
- run: npm run build
# - uses: actions/upload-artifact@v3
# with:
# name: math_vis
# path: dist
- uses: actions/upload-pages-artifact@v1
with:
path: dist
deploy:
needs: build
runs-on: ubuntu-latest
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
permissions:
pages: write
id-token: write
steps:
- uses: actions/deploy-pages@v2
id: deployment