Skip to content

feat: complete voice interaction migration to Svelte + TypeScript #10

feat: complete voice interaction migration to Svelte + TypeScript

feat: complete voice interaction migration to Svelte + TypeScript #10

Workflow file for this run

name: CI
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build-and-test:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v3
- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: '20'
- name: Install dependencies
run: npm install
- name: TypeScript and Svelte type checking
run: npm run check
- name: Build with Vite
run: npm run build
- name: Install Playwright browsers
run: npx playwright install --with-deps
- name: Run Playwright tests
run: npm run test:e2e
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./dist
cname: www.unityailab.com