Skip to content

fix: merge changes from client #2

fix: merge changes from client

fix: merge changes from client #2

Workflow file for this run

name: Deploy playground to GitHub Pages
on:
push:
branches:
- main
workflow_dispatch:
permissions:
contents: read
pages: write
id-token: write
concurrency:
group: pages
cancel-in-progress: true
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: actions/setup-node@v6
with:
node-version: 22
- run: npm i -g --force corepack@latest && corepack enable
- name: Install dependencies
run: npx nypm@latest i
- name: Prepare module and playground
run: npm run dev:prepare
- name: Generate static playground
run: npm run dev:generate
env:
NUXT_APP_BASE_URL: /module-persistence/
- name: Upload Pages artifact
uses: actions/upload-pages-artifact@v3
with:
path: playground/.output/public
deploy:
needs: build
runs-on: ubuntu-latest
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4