Merge pull request #306 from Mesnage-Org/add-smiles-support #263
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Run end-to-end tests | |
on: | |
pull_request: | |
push: | |
branches: 'master' | |
jobs: | |
test: | |
timeout-minutes: 60 | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: ./web | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Install pnpm | |
uses: pnpm/action-setup@v2 | |
with: | |
version: 8 | |
- name: Install Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 20 | |
cache: pnpm | |
cache-dependency-path: 'web/pnpm-lock.yaml' | |
- name: Install Project Dependencies | |
run: pnpm install | |
- name: Install Playwright Browsers & Dependencies | |
run: pnpm exec playwright install --with-deps | |
- name: Run Playwright Tests | |
run: | | |
tree -fhD # Looking for location of smithereens_bg.wasm | |
pnpm test |