Skip to content

Commit

Permalink
fix: player ci
Browse files Browse the repository at this point in the history
  • Loading branch information
alexander-heimbuch committed Nov 15, 2023
1 parent e85ce1c commit 1bbbb88
Show file tree
Hide file tree
Showing 15 changed files with 185 additions and 25 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/review.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,15 +37,17 @@ jobs:
run: pnpm lint --scope @podlove/player
- name: build
run: pnpm build --scope @podlove/player
- name: install cypress
run: pnpm install --workspace-root cypress
- name: setup integration
run: pnpm lerna run setup --scope @apps/player
- name: start test server
run: pnpm serve --scope @podlove/player --stream &
- name: integration
uses: cypress-io/github-action@v6
with:
browser: chrome
install: false
start: pnpm start --scope @podlove/player --stream
project: ./apps/player
wait-on: http://localhost:9000
working-directory: ./apps/player


apps_web-player:
Expand Down
1 change: 1 addition & 0 deletions apps/player/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
"scripts": {
"serve": "vite serve",
"build": "vite build",
"integration:setup": "cypress install --force",
"integration:ci": "cypress run --browser chrome",
"integration:dev": "cypress open --browser chrome",
"lint": "eslint src/**/*.{vue,ts} cypress/**/*.ts"
Expand Down
25 changes: 25 additions & 0 deletions apps/web-player/.eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
"env": {
"browser": true,
"es2021": true
},
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/recommended",
"plugin:vue/vue3-essential"
],
"parserOptions": {
"ecmaVersion": "latest",
"parser": "@typescript-eslint/parser",
"sourceType": "module"
},
"plugins": [
"@typescript-eslint",
"vue"
],
"rules": {
"@typescript-eslint/no-explicit-any": 0,
"@typescript-eslint/no-namespace": 0,
"@typescript-eslint/ban-ts-comment": 0
}
}
18 changes: 11 additions & 7 deletions apps/web-player/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@
"integration:ci": "cypress run --browser chrome",
"integration:dev": "cypress open --browser chrome",
"build": "vite build",
"serve": "vite serve"
"serve": "vite serve",
"lint": "eslint src/**/*.ts cypress/**/*.ts"
},
"keywords": [],
"author": "Alexander Heimbuch <[email protected]>",
Expand All @@ -30,17 +31,20 @@
"ramda": "0.29.0"
},
"devDependencies": {
"@types/node": "20.8.2",
"@types/ramda": "0.29.3",
"@typescript-eslint/eslint-plugin": "^6.11.0",
"@typescript-eslint/parser": "^6.11.0",
"@vitejs/plugin-vue": "4.2.3",
"cypress": "13.1.0",
"eslint": "^8.53.0",
"http-server": "0.11.1",
"webpack": "5.45.1",
"webpack-dev-server": "3.11.2",
"@types/ramda": "0.29.3",
"redux": "4.2.1",
"typescript": "5.0.4",
"vite": "4.3.9",
"@vitejs/plugin-vue": "4.2.3",
"vite-plugin-dynamic-publicpath": "1.1.2",
"typescript": "5.0.4",
"@types/node": "20.8.2"
"webpack": "5.45.1",
"webpack-dev-server": "3.11.2"
},
"exports": {
".": {
Expand Down
Binary file removed assetsources/TabIcons.afdesign
Binary file not shown.
Binary file removed assetsources/design.sketch
Binary file not shown.
1 change: 0 additions & 1 deletion assetsources/svg/Audio.svg

This file was deleted.

1 change: 0 additions & 1 deletion assetsources/svg/Chapters.svg

This file was deleted.

1 change: 0 additions & 1 deletion assetsources/svg/Download.svg

This file was deleted.

1 change: 0 additions & 1 deletion assetsources/svg/Info.svg

This file was deleted.

1 change: 0 additions & 1 deletion assetsources/svg/Share.svg

This file was deleted.

1 change: 0 additions & 1 deletion assetsources/svg/Transcripts.svg

This file was deleted.

7 changes: 0 additions & 7 deletions assetsources/svg/optimize.sh

This file was deleted.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"private": true,
"scripts": {
"start": "lerna run dev --scope @podlove/docs --stream",
"serve": "lerna run serve",
"lint": "lerna run lint",
"test": "lerna run test",
"test:dev": "lerna run test:dev",
Expand Down
142 changes: 141 additions & 1 deletion pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 1bbbb88

Please sign in to comment.