Skip to content

Merge branch 'main' of https://github.com/Unity-Lab-AI/Talk-to-Unity #1

Merge branch 'main' of https://github.com/Unity-Lab-AI/Talk-to-Unity

Merge branch 'main' of https://github.com/Unity-Lab-AI/Talk-to-Unity #1

Workflow file for this run

name: CI
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build-and-test:
runs-on: ubuntu-latest
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: Install Playwright browsers
run: npx playwright install --with-deps
- name: Build
run: npm run build
- 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