Skip to content

feat(test): Vitest browser mode, seperate test config for type safety… #1048

feat(test): Vitest browser mode, seperate test config for type safety…

feat(test): Vitest browser mode, seperate test config for type safety… #1048

Workflow file for this run

name: Build and Deploy 🕛
on:
push:
branches:
- main
pull_request:
branches:
- main
env:
BASE: /${{ github.event.repository.name }}/
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎️
uses: actions/checkout@v6.0.2
- name: Pnpm 🧱
uses: pnpm/action-setup@v4.2.0
- name: Node.js ⚓
uses: actions/setup-node@v6.2.0
with:
node-version: latest
cache: pnpm
- name: Install 🔧
run: |
pnpm i
pnpm playwright
- name: Test 🧪
run: |
pnpm test
- name: Build 🚧
run: |
pnpm build
touch dist/.nojekyll
- name: Deploy 🚀
uses: JamesIves/github-pages-deploy-action@v4.8.0
if: github.ref == 'refs/heads/main'
with:
folder: dist