-
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #35 from hildjj/save-state
Save state to URL hash
- Loading branch information
Showing
19 changed files
with
1,949 additions
and
1,140 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
name: Playwright Tests | ||
on: | ||
push: | ||
branches: [ main ] | ||
pull_request: | ||
branches: [ main ] | ||
jobs: | ||
test: | ||
timeout-minutes: 60 | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- run: corepack enable | ||
- uses: actions/setup-node@v4 | ||
with: | ||
node-version: lts/* | ||
cache: pnpm | ||
- name: Install dependencies | ||
run: pnpm i -r | ||
- name: build | ||
run: npm run build && npm run docs | ||
- name: Install Playwright Browsers | ||
run: cd web && npx playwright install --with-deps | ||
- name: Run Playwright tests | ||
run: npm run test:web | ||
- uses: actions/upload-artifact@v4 | ||
if: always() | ||
with: | ||
name: playwright-report | ||
path: web/playwright-report/ | ||
retention-days: 30 |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,3 +3,5 @@ coverage/ | |
docs/ | ||
lib/ | ||
node_modules/ | ||
web/playwright-report/ | ||
web/test-results/ |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,6 @@ | ||
{ | ||
"eslint.experimental.useFlatConfig": true | ||
"eslint.experimental.useFlatConfig": true, | ||
"playwright.env": { | ||
"VSCODE_PLAYWRIGHT": "1" | ||
} | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,10 +24,11 @@ | |
"clean": "rimraf lib coverage docs", | ||
"docs": "typedoc && cd web && npm run build", | ||
"lint": "eslint .", | ||
"start": "five-server", | ||
"start": "cd web && npm start", | ||
"pretest": "npm run build", | ||
"test": "npm run test:noBuild", | ||
"test:noBuild": "c8 node --test test/*.test.js", | ||
"test:web": "cd web && npm test", | ||
"build": "tsup", | ||
"build:sourcemap": "npm run build -- --sourcemap", | ||
"watch": "tsup --sourcemap --watch src/ --watch test/ --onSuccess 'npm run test:noBuild'", | ||
|
@@ -44,20 +45,19 @@ | |
"name": "Joe Hildebrand", | ||
"email": "[email protected]" | ||
}, | ||
"packageManager": "[email protected]", | ||
"license": "MIT", | ||
"devDependencies": { | ||
"@cto.af/eslint-config": "4.0.2", | ||
"c8": "9.1.0", | ||
"eslint": "8.57.0", | ||
"eslint-plugin-jsdoc": "48.2.7", | ||
"eslint-plugin-markdown": "5.0.0", | ||
"five-server": "0.3.3", | ||
"rimraf": "^5.0.7", | ||
"tsup": "8.0.2", | ||
"tsup": "8.1.0", | ||
"typedoc": "0.25.13", | ||
"typescript-eslint": "7.11.0" | ||
"typescript-eslint": "7.12.0" | ||
}, | ||
"license": "MIT", | ||
"packageManager": "[email protected]", | ||
"engines": { | ||
"node": ">=18" | ||
} | ||
|
Oops, something went wrong.