Skip to content

Commit c5f96a8

Browse files
committed
add code for first exercise
1 parent dd92d0f commit c5f96a8

File tree

457 files changed

+4015
-162
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

457 files changed

+4015
-162
lines changed

.github/workflows/validate.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,12 @@ jobs:
3535
- name: ⬣ ESLint
3636
run: npm run lint
3737

38+
- name: ⬇️ Install Playwright
39+
run: npm --prefix epicshop run test:setup
40+
41+
- name: 🧪 Tests
42+
run: npm --prefix epicshop run test
43+
3844
deploy:
3945
name: 🚀 Deploy
4046
runs-on: ubuntu-latest

epicshop/package-lock.json

Lines changed: 81 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

epicshop/package.json

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,17 @@
11
{
22
"type": "module",
3+
"scripts": {
4+
"test:setup": "playwright install chromium --with-deps",
5+
"test": "cd .. && node ./epicshop/test.js ..s"
6+
},
37
"dependencies": {
48
"@epic-web/workshop-app": "^5.11.0",
59
"@epic-web/workshop-utils": "^5.11.0",
610
"chokidar": "^4.0.3",
11+
"enquirer": "^2.4.1",
712
"execa": "^9.5.2",
8-
"fs-extra": "^11.3.0"
13+
"fs-extra": "^11.3.0",
14+
"match-sorter": "^8.0.0",
15+
"p-limit": "^6.2.0"
916
}
1017
}

0 commit comments

Comments
 (0)