Skip to content

Commit

Permalink
Cistrome bigwig data fetcher (#364)
Browse files Browse the repository at this point in the history
* Add github actions

* Update title

* Remove codecov

* Add a draft of cistrome bw data fetcher
  • Loading branch information
sehilyi authored Sep 20, 2021
1 parent b12238a commit b3622cb
Show file tree
Hide file tree
Showing 7 changed files with 805 additions and 33 deletions.
54 changes: 54 additions & 0 deletions .github/workflows/build-and-deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
name: Build and deploy doc and App

on:
push:
branches: [ master ]
pull_request:

jobs:
build:
name: Test and build

runs-on: ubuntu-latest

strategy:
matrix:
node-version: [ 12.x, 14.x ]

steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- run: yarn install
- run: yarn test
- run: yarn build

deploy:
name: Deploy

runs-on: ubuntu-latest

needs: [ build ]

if: github.ref == 'refs/heads/master'

steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: 12
- run: yarn install
- run: yarn build
- run: yarn docs
- run: mv ./build-docs ./build-demo/docs
- name: Deploy App
run: |
git config --global user.name "action@github.com"
git config --global user.email "GitHub Action"
git remote set-url origin https://${ACCESS_TOKEN}@github.com/${REPO}.git
yarn deploy
env:
ACCESS_TOKEN: ${{ secrets.ACCESS_TOKEN }}
REPO: ${{ github.repository }}
20 changes: 0 additions & 20 deletions .travis.yml

This file was deleted.

6 changes: 5 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
"d3": "^5.15.0",
"d3-delaunay": "^5.2.1",
"geminid": "0.0.9",
"gosling.js": "^0.9.8",
"higlass-multivec": "0.2.8",
"higlass-register": "^0.3.0",
"js-cookie": "^2.2.1",
Expand Down Expand Up @@ -41,6 +42,7 @@
"deep-diff": "^1.0.2",
"documentation": "^12.1.4",
"eslint": "^6.8.0",
"gh-pages": "^3.2.3",
"jest": "^25.1.0",
"levenary": "^1.1.1",
"rollup": "^1.29.1",
Expand All @@ -57,7 +59,9 @@
"build": "rollup -c rollup.demo.config.js --environment NODE_ENV:production",
"build-pkg": "rollup -c rollup.pkg.config.js --environment NODE_ENV:production",
"test": "jest -c jest.config.js",
"docs": "documentation build src/** -f html -o build-docs --config .documentation.yml"
"docs": "documentation build src/** -f html -o build-docs --config .documentation.yml",
"predeploy": "yarn build; echo \"cisvis.gehlenborglab.org\" >> build/CNAME",
"deploy": "gh-pages -d build"
},
"main": "build-pkg/index.umd.js",
"unpkg": "build-pkg/index.min.js",
Expand Down
Loading

0 comments on commit b3622cb

Please sign in to comment.