mirror of
https://github.com/johannesjo/super-productivity.git
synced 2026-07-17 16:37:43 +00:00
build: fix 2
This commit is contained in:
parent
7c00dcc8ba
commit
5a35dbe01c
7 changed files with 17 additions and 2 deletions
|
|
@ -63,6 +63,8 @@ jobs:
|
|||
# if: steps.npm-cache.outputs.cache-hit != 'true'
|
||||
run: npm i
|
||||
|
||||
- run: npm run env # Generate env.generated.ts
|
||||
|
||||
- name: Lint
|
||||
run: npm run lint:ci
|
||||
|
||||
|
|
|
|||
|
|
@ -52,6 +52,8 @@ jobs:
|
|||
env:
|
||||
PROVISION_PROFILE: ${{secrets.mas_provision_profile}}
|
||||
|
||||
- run: npm run env # Generate env.generated.ts
|
||||
|
||||
- name: Lint
|
||||
run: npm run lint:ci
|
||||
|
||||
|
|
|
|||
|
|
@ -48,6 +48,8 @@ jobs:
|
|||
# if: steps.npm-cache.outputs.cache-hit != 'true'
|
||||
run: npm i
|
||||
|
||||
- run: npm run env # Generate env.generated.ts
|
||||
|
||||
- name: Lint
|
||||
run: npm run lint:ci
|
||||
|
||||
|
|
|
|||
6
.github/workflows/build.yml
vendored
6
.github/workflows/build.yml
vendored
|
|
@ -48,6 +48,8 @@ jobs:
|
|||
npx playwright install --with-deps chromium
|
||||
npx playwright install-deps chromium
|
||||
|
||||
- run: npm run env # Generate env.generated.ts
|
||||
|
||||
- name: Lint
|
||||
run: npm run lint:ci
|
||||
|
||||
|
|
@ -149,6 +151,8 @@ jobs:
|
|||
mkdir -p ~/private_keys/
|
||||
echo '${{ secrets.mac_api_key }}' > ~/private_keys/AuthKey_${{ secrets.mac_api_key_id }}.p8
|
||||
|
||||
- run: npm run env # Generate env.generated.ts
|
||||
|
||||
- name: Lint
|
||||
run: npm run lint:ci
|
||||
|
||||
|
|
@ -229,6 +233,8 @@ jobs:
|
|||
# if: steps.npm-cache.outputs.cache-hit != 'true'
|
||||
run: npm i
|
||||
|
||||
- run: npm run env # Generate env.generated.ts
|
||||
|
||||
- name: Lint
|
||||
run: npm run lint:ci
|
||||
|
||||
|
|
|
|||
1
.github/workflows/lint-and-test-pr.yml
vendored
1
.github/workflows/lint-and-test-pr.yml
vendored
|
|
@ -46,6 +46,7 @@ jobs:
|
|||
npx playwright install --with-deps chromium
|
||||
npx playwright install-deps chromium
|
||||
|
||||
- run: npm run env # Generate env.generated.ts from environment variables
|
||||
- run: npm run lint:ci
|
||||
- run: npm run test
|
||||
- run: npm run e2e
|
||||
|
|
|
|||
2
.github/workflows/manual-build.yml
vendored
2
.github/workflows/manual-build.yml
vendored
|
|
@ -118,6 +118,8 @@ jobs:
|
|||
mkdir -p ~/private_keys/
|
||||
echo '${{ secrets.mac_api_key }}' > ~/private_keys/AuthKey_${{ secrets.mac_api_key_id }}.p8
|
||||
|
||||
- run: npm run env # Generate env.generated.ts
|
||||
|
||||
- name: Lint
|
||||
run: npm run lint:ci
|
||||
|
||||
|
|
|
|||
|
|
@ -98,8 +98,8 @@
|
|||
"startFrontend:stage": "npm run env && ng serve --configuration stage",
|
||||
"sync:android": "npx cap sync android",
|
||||
"stats": "ng build --configuration production --source-map --stats-json && npx esbuild-visualizer --metadata .tmp/angular-dist/stats.json && xdg-open stats.html",
|
||||
"test": "npm run env && cross-env TZ='Europe/Berlin' ng test --watch=false && npm run test:tz:ci",
|
||||
"test:once": "npm run env && cross-env TZ='Europe/Berlin' ng test --watch=false",
|
||||
"test": "cross-env TZ='Europe/Berlin' ng test --watch=false && npm run test:tz:ci",
|
||||
"test:once": "cross-env TZ='Europe/Berlin' ng test --watch=false",
|
||||
"test:watch": "cross-env TZ='Europe/Berlin' ng test --browsers ChromeHeadless",
|
||||
"test:tz:ci": "npm run test:tz:la",
|
||||
"test:tz:la": "cross-env TZ='America/Los_Angeles' ng test --watch=false --include='**/*.spec.ts'",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue