This commit is contained in:
Anton Bracke 2022-02-20 21:09:15 +01:00
parent 4337264157
commit 0f910693ef
No known key found for this signature in database
GPG Key ID: B1222603899C6B25
2 changed files with 40 additions and 0 deletions

View File

@ -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"

View File

@ -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}'"
}, },