mirror of
https://github.com/h3poteto/whalebird-desktop
synced 2024-12-09 15:36:11 +01:00
Setup build CI
This commit is contained in:
parent
03f5da5086
commit
68378332aa
24
.github/workflows/build.yml
vendored
Normal file
24
.github/workflows/build.yml
vendored
Normal file
@ -0,0 +1,24 @@
|
||||
name: Build
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
|
||||
pull_request:
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@master
|
||||
- uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: 18
|
||||
- name: Install
|
||||
run: |
|
||||
yarn install
|
||||
- name: typecheck
|
||||
run: |
|
||||
yarn run typecheck
|
3
.gitignore
vendored
3
.gitignore
vendored
@ -2,4 +2,5 @@ node_modules
|
||||
*.log
|
||||
.next
|
||||
app
|
||||
dist
|
||||
dist
|
||||
tsconfig.tsbuildinfo
|
3
main/tsconfig.json
Normal file
3
main/tsconfig.json
Normal file
@ -0,0 +1,3 @@
|
||||
{
|
||||
"extends": "../tsconfig.json"
|
||||
}
|
@ -8,7 +8,8 @@
|
||||
"scripts": {
|
||||
"dev": "nextron",
|
||||
"build": "nextron build",
|
||||
"postinstall": "electron-builder install-app-deps"
|
||||
"postinstall": "electron-builder install-app-deps",
|
||||
"typecheck": "tsc -p renderer --noEmit && tsc -p main --noEmit"
|
||||
},
|
||||
"dependencies": {
|
||||
"dayjs": "^1.11.10",
|
||||
|
Loading…
Reference in New Issue
Block a user