Skip to content

build: update deps for example (#7) #2

build: update deps for example (#7)

build: update deps for example (#7) #2

Workflow file for this run

name: Deploy example page
on:
push:
branches:
- main
jobs:
deploy:
permissions:
contents: read
pages: write
id-token: write
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '18.x'
- name: Configure GitHub Pages
uses: actions/configure-pages@v5
- name: Build example page
run: |
cd example
npm ci
npm run build
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: "example/dist"
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4