Skip to content

Commit

Permalink
adjust commands
Browse files Browse the repository at this point in the history
  • Loading branch information
Lykhoyda committed Oct 30, 2024
1 parent c26c851 commit 292ab33
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 24 deletions.
46 changes: 23 additions & 23 deletions .github/workflows/e2e-tests.yml
Original file line number Diff line number Diff line change
@@ -1,39 +1,39 @@
name: Playwright Tests
on:
pull_request:
push:
branches: main
pull_request:
push:
branches: main

jobs:
test:
timeout-minutes: 60
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v4

- name: Install Just
uses: extractions/setup-just@v2
- name: Install Just
uses: extractions/setup-just@v2

- name: install wasm-pack
uses: jetli/[email protected]
with:
version: latest
- name: install wasm-pack
uses: jetli/[email protected]
with:
version: latest

- name: build pkg
run: just build
- name: build pkg
run: just build

- uses: actions/setup-node@v4
with:
node-version: lts/*
- uses: actions/setup-node@v4
with:
node-version: lts/*

- uses: pnpm/action-setup@v4
- run: corepack enable

- name: Install dependencies
run: pnpm i
- name: Install dependencies
run: yarn install --immutable

- name: Install Playwright Browsers
working-directory: ./packages/e2e-tests/
run: npx playwright install --with-deps
- name: Install Playwright Browsers
working-directory: ./packages/e2e-tests/
run: yarn playwright install --with-deps

- name: Run Playwright tests
run: pnpm run test:e2e
- name: Run Playwright tests
run: yarn run test:e2e
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"dev": "yarn run just:build-keys && yarn run wasm:build && yarn run snap:start & yarn run demo-wallet:dev",
"build": "yarn workspace @webzjs/demo-wallet run build",
"demo-wallet:dev": "yarn workspace @webzjs/demo-wallet run dev",
"test:e2e": "yarn workspace @webzjs/e2e-tests test",
"test:e2e": "yarn workspace @webzjs/e2e-tests pretest && yarn workspace @webzjs/e2e-tests test",
"snap:start": "yarn workspace @webzjs/zcash-snap run start",
"snap:build": "yarn workspace @webzjs/zcash-snap run build",
"wasm:build": "yarn workspace @webzjs/wasm run build",
Expand Down

0 comments on commit 292ab33

Please sign in to comment.