mirror of
https://github.com/logos-messaging/js-waku.git
synced 2026-01-02 13:53:12 +00:00
* chore: update definitions to match the ABI * chore: improve exports and types * chore: use big endian instead of little endian * chore: improve logging * chore: update import * fix: use overloaded function call * chore: estimate gas * test * npm i * chore: regen locl * chore: update * chore: update playwright docker images * chore: cannot erase membership if it isn't expired/in grace period * chore: fix condition * chore: add `getMembershipStatus` method * refactor(rln): cache min/max rate limits at contract instantiation * chore: fix accessor * chore: rename arg * chore: allow chromebin path through env
41 lines
929 B
YAML
41 lines
929 B
YAML
name: Playwright tests
|
|
|
|
on:
|
|
push:
|
|
branches: [ master ]
|
|
pull_request:
|
|
branches: [ master ]
|
|
|
|
env:
|
|
NODE_JS: "20"
|
|
EXAMPLE_TEMPLATE: "web-chat"
|
|
EXAMPLE_NAME: "example"
|
|
EXAMPLE_PORT: "8080"
|
|
# Firefox in container fails due to $HOME not being owned by user running commands
|
|
# more details https://github.com/microsoft/playwright/issues/6500
|
|
HOME: "/root"
|
|
|
|
jobs:
|
|
test:
|
|
timeout-minutes: 60
|
|
runs-on: ubuntu-latest
|
|
container:
|
|
image: mcr.microsoft.com/playwright:v1.52.0-jammy
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- uses: actions/setup-node@v3
|
|
with:
|
|
node-version: ${{ env.NODE_JS }}
|
|
|
|
- uses: ./.github/actions/npm
|
|
|
|
- name: Run Playwright tests
|
|
run: npm run test --workspace=@waku/browser-tests
|
|
|
|
- uses: actions/upload-artifact@v4
|
|
if: always()
|
|
with:
|
|
name: playwright-report
|
|
path: playwright-report/
|
|
retention-days: 30
|