Add the revive tests in the browsers (#158)

This commit is contained in:
Sebastian Miasojed
2025-01-14 22:29:02 +01:00
committed by GitHub
parent 7f81f37e0c
commit 939138d0cd
7 changed files with 174 additions and 55 deletions
+8 -4
View File
@@ -106,6 +106,7 @@ jobs:
Set-ExecutionPolicy RemoteSigned -Scope CurrentUser
iex (new-object net.webclient).downloadstring('https://get.scoop.sh')
scoop install bun@${{ env.BUN_VERSION }}
scoop install wget
Join-Path (Resolve-Path ~).Path "scoop\shims" >> $Env:GITHUB_PATH
- name: Install Bun on macOS and Linux
@@ -114,13 +115,16 @@ jobs:
curl -fsSL https://bun.sh/install | bash -s bun-v${{ env.BUN_VERSION }}
echo "$HOME/.bun/bin" >> $GITHUB_PATH
- name: Confirm Installations
- name: Install packages
run: npm install
- name: Run Playwright tests
run: |
node --version
bun --version
cd js
npx playwright install --with-deps
npx playwright test
- name: Test revive
run: |
echo "Running tests for ${{ matrix.os }}"
npm install
npm run test:wasm