Skip to content

Commit

Permalink
Merge pull request #79 from 0916dhkim/spash-screen
Browse files Browse the repository at this point in the history
Add A Splash Screen
  • Loading branch information
0916dhkim committed Mar 25, 2020
2 parents 7b524ca + 62b77f8 commit 3c05b75
Show file tree
Hide file tree
Showing 28 changed files with 8,168 additions and 11,160 deletions.
1 change: 1 addition & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ module.exports = {
env: {
node: true,
es6: true,
mocha: true
},
plugins: ["react-hooks"],
rules: {
Expand Down
14 changes: 8 additions & 6 deletions .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,22 +15,20 @@ jobs:
matrix:
os: [ubuntu-latest, windows-latest]
node-version: [12.x, 13.x]
mode: [production, development]

runs-on: ${{ matrix.os }}
env:
NODE_ENV: ${{ matrix.mode }}
NODE_ENV: development

steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- run: npm ci --no-optional
env:
NODE_ENV: development
- run: npm ci
- run: npm run lint
- run: npm run compile
- run: npm test
release:
if: github.ref == 'refs/heads/master'
Expand All @@ -40,13 +38,17 @@ jobs:
matrix:
os: [ubuntu-latest, windows-latest]
runs-on: ${{ matrix.os }}
env:
NODE_ENV: production
steps:
- uses: actions/checkout@v2
- name: Use Node.js
uses: actions/setup-node@v1
with:
node-version: 12
- run: npm ci --no-optional
- run: npm ci
env:
NODE_ENV: development
- run: npm run dist
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
7 changes: 2 additions & 5 deletions .mocharc.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
module.exports = {
spec: "src/**/*.spec.*",
recursive: true,
spec: "dist/test/test.js",
require: [
"ts-node/register",
"jsdom-global/register"
],
colors: true,
ui: "tdd"
colors: true
}
13 changes: 7 additions & 6 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,13 @@
"type": "node",
"request": "launch",
"name": "Electron Main",
"runtimeExecutable": "${workspaceFolder}/node_modules/.bin/electron-webpack",
"runtimeArgs": ["dev"],
"autoAttachChildProcesses": true,
"internalConsoleOptions": "openOnFirstSessionStart",
"console": "integratedTerminal",
"timeout": 30000
"cwd": "${workspaceFolder}",
"runtimeExecutable": "${workspaceFolder}/node_modules/.bin/electron",
"args": ["."],
"outputCapture": "std",
"skipFiles": [
"<node_internals>/**"
]
},
{
"name": "Electron Renderer",
Expand Down

0 comments on commit 3c05b75

Please sign in to comment.