Skip to content

Commit

Permalink
# This is a combination of 18 commits.
Browse files Browse the repository at this point in the history
# This is the 1st commit message:

try gh actions

License: MIT
Signed-off-by: Henrique Dias <hacdias@gmail.com>

# This is the commit message #2:

add build

License: MIT
Signed-off-by: Henrique Dias <hacdias@gmail.com>

# This is the commit message #3:

License: MIT
Signed-off-by: Henrique Dias <hacdias@gmail.com>

# This is the commit message #4:

License: MIT
Signed-off-by: Henrique Dias <hacdias@gmail.com>

# This is the commit message #5:

add gh token

License: MIT
Signed-off-by: Henrique Dias <hacdias@gmail.com>

# This is the commit message #6:

fix names

License: MIT
Signed-off-by: Henrique Dias <hacdias@gmail.com>

# This is the commit message #7:

add chrome-log driver

License: MIT
Signed-off-by: Henrique Dias <hacdias@gmail.com>

# This is the commit message #8:

License: MIT
Signed-off-by: Henrique Dias <hacdias@gmail.com>

# This is the commit message #9:

xvfb?

License: MIT
Signed-off-by: Henrique Dias <hacdias@gmail.com>

# This is the commit message #10:

install xvfb

License: MIT
Signed-off-by: Henrique Dias <hacdias@gmail.com>

# This is the commit message #11:

License: MIT
Signed-off-by: Henrique Dias <hacdias@gmail.com>

# This is the commit message #12:

License: MIT
Signed-off-by: Henrique Dias <hacdias@gmail.com>

# This is the commit message #13:

License: MIT
Signed-off-by: Henrique Dias <hacdias@gmail.com>

# This is the commit message #14:

add screensize

License: MIT
Signed-off-by: Henrique Dias <hacdias@gmail.com>

# This is the commit message #15:

License: MIT
Signed-off-by: Henrique Dias <hacdias@gmail.com>

# This is the commit message #16:

License: MIT
Signed-off-by: Henrique Dias <hacdias@gmail.com>

# This is the commit message #17:

xvfb-maybe

License: MIT
Signed-off-by: Henrique Dias <hacdias@gmail.com>

# This is the commit message #18:

chore!

License: MIT
Signed-off-by: Henrique Dias <hacdias@gmail.com>
  • Loading branch information
hacdias committed Sep 2, 2019
1 parent 8b90b9a commit c3212ff
Show file tree
Hide file tree
Showing 5 changed files with 41 additions and 58 deletions.
37 changes: 37 additions & 0 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: CI

on: [push]

jobs:
lint-unit:
name: lint and unit testing
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/setup-node@v1
with:
version: 12.x
- run: npm install
- run: npm run lint
- run: npm run test
e2e-build:
name: e2e tests and building
strategy:
matrix:
os: [ubuntu-latest, macOS-latest, windows-latest]
needs:
- lint-unit
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v1
- uses: actions/setup-node@v1
with:
version: 12.x
- run: npm install
- run: npm run test:e2e
env:
CI: true
- run: npm run build
env:
CI: true
GH_TOKEN: ${{ secrets.GH_TOKEN }}
30 changes: 0 additions & 30 deletions .travis.yml

This file was deleted.

25 changes: 0 additions & 25 deletions appveyor.yml

This file was deleted.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@
"clean:webui": "shx rm -rf assets/webui/",
"build": "run-s build:*",
"build:webui": "run-s build:webui:*",
"build:webui:download": "npx ipfs-or-gateway -c QmNyMYhwJUS1cVvaWoVBhrW8KPj1qmie7rZcWo8f1Bvkhz -p assets/webui/ -t 360000 --verbose",
"build:webui:download": "npx ipfs-or-gateway -c QmQn7B9nLDXgDWjVjgjHActHDQ3AK1NRv7f733P8ki7dik -p assets/webui/ -t 360000 --verbose",
"build:webui:minimize": "shx rm -rf assets/webui/static/js/*.map && shx rm -rf assets/webui/static/css/*.map",
"build:babel": "babel src --out-dir out --copy-files",
"build:binaries": "electron-builder --publish onTag"
"build:binaries": "electron-builder"
},
"pre-commit": [
"lint"
Expand Down
3 changes: 2 additions & 1 deletion test/e2e/launch.e2e.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,8 @@ describe('Application launch', function () {
NODE_ENV: 'test',
HOME: home,
IPFS_PATH: ipfsPath
}
},
chromeDriverArgs: ['--no-sandbox']
})
await app.start()
return { app, ipfsPath, home }
Expand Down

0 comments on commit c3212ff

Please sign in to comment.