Skip to content

Commit

Permalink
feat: initial flow
Browse files Browse the repository at this point in the history
  • Loading branch information
karl-kallavus committed Dec 7, 2023
1 parent 84a0422 commit a5dd903
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 2 deletions.
28 changes: 28 additions & 0 deletions .github/workfkows/playwright.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Playwright Tests
on:
push:
branches: [ main, master ]
pull_request:
branches: [ main, master ]
jobs:
playwright:
name: 'Playwright Tests'
runs-on: ubuntu-latest
container:
image: mcr.microsoft.com/playwright:v1.40.0-jammy
steps:
- uses: actions/checkout@v4
- name: Use Node
uses: actions/setup-node@v3
with:
node-version: 20
- name: Corepack enable
run: corepack enable
- name: Use pnpm@latest
run: corepack prepare pnpm@latest --activate
- name: Install dependencies
run: pnpm i
- name: Run your tests
run: pnpm run doc test
env:
HOME: /root
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
4. Run e2e tests:

```sh
pnpm run doc test:e2e
pnpm run doc test
```


Expand Down
2 changes: 1 addition & 1 deletion docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"build": "pnpm run build:types && next build",
"lint": "next lint",
"start": "next start",
"test:e2e": "playwright test"
"test": "playwright test"
},
"dependencies": {
"@heathmont/moon-base-tw": "workspace:^10.10.7",
Expand Down

0 comments on commit a5dd903

Please sign in to comment.