add ci
This commit is contained in:
parent
4337264157
commit
0f910693ef
38
.github/workflows/continuous_integration.yml
vendored
38
.github/workflows/continuous_integration.yml
vendored
@ -203,3 +203,41 @@ jobs:
|
|||||||
- name: "Prettier"
|
- name: "Prettier"
|
||||||
run: yarn pretty-check
|
run: yarn pretty-check
|
||||||
working-directory: "desktop"
|
working-directory: "desktop"
|
||||||
|
|
||||||
|
continuous-integration-desktop-local-app:
|
||||||
|
name: "Continuous Integration Desktop Local App"
|
||||||
|
|
||||||
|
runs-on: "ubuntu-latest"
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: "Checkout"
|
||||||
|
uses: "actions/checkout@v2.0.0"
|
||||||
|
|
||||||
|
- name: "Setup NodeJS"
|
||||||
|
uses: actions/setup-node@v1
|
||||||
|
with:
|
||||||
|
node-version: '14.x'
|
||||||
|
|
||||||
|
- name: "Install dependencies"
|
||||||
|
run: yarn install --froze-lockfile
|
||||||
|
working-directory: "desktop/local-app"
|
||||||
|
|
||||||
|
- name: "Build"
|
||||||
|
run: yarn build
|
||||||
|
working-directory: "desktop/local-app"
|
||||||
|
|
||||||
|
- name: "Typecheck"
|
||||||
|
run: yarn check
|
||||||
|
working-directory: "desktop/local-app"
|
||||||
|
|
||||||
|
- name: "Lint"
|
||||||
|
run: yarn lint
|
||||||
|
working-directory: "desktop/local-app"
|
||||||
|
|
||||||
|
- name: "Jasmine"
|
||||||
|
run: yarn test
|
||||||
|
working-directory: "desktop/local-app"
|
||||||
|
|
||||||
|
- name: "Prettier"
|
||||||
|
run: yarn pretty-check
|
||||||
|
working-directory: "desktop/local-app"
|
@ -8,6 +8,8 @@
|
|||||||
"build": "vite build",
|
"build": "vite build",
|
||||||
"preview": "vite preview",
|
"preview": "vite preview",
|
||||||
"check": "svelte-check --tsconfig ./tsconfig.json",
|
"check": "svelte-check --tsconfig ./tsconfig.json",
|
||||||
|
"lint": "exit 0",
|
||||||
|
"test": "exit 0",
|
||||||
"pretty": "yarn prettier --write 'src/**/*.{ts,tsx,svelte}'",
|
"pretty": "yarn prettier --write 'src/**/*.{ts,tsx,svelte}'",
|
||||||
"pretty-check": "yarn prettier --check 'src/**/*.{ts,tsx}'"
|
"pretty-check": "yarn prettier --check 'src/**/*.{ts,tsx}'"
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user