-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
993ed63
commit 7f8bf5a
Showing
5 changed files
with
37 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,31 +1,38 @@ | ||
# This workflow will do a clean installation of node dependencies, cache/restore them, build the source code and run tests across different versions of node | ||
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-nodejs | ||
|
||
name: Node.js CI | ||
|
||
name: Auto-deployment of Documentation | ||
on: | ||
push: | ||
branches: [ "main" ] | ||
pull_request: | ||
branches: [ "main" ] | ||
|
||
branches: [main] | ||
jobs: | ||
build: | ||
|
||
build-docs: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3.0.2 | ||
with: | ||
fetch-depth: 0 # otherwise, you will failed to push refs to dest repo | ||
|
||
strategy: | ||
matrix: | ||
node-version: [14.x, 16.x, 18.x] | ||
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/ | ||
- name: Set up Python 3. | ||
uses: actions/setup-python@v3 | ||
with: | ||
python-version: 3.9 | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Use Node.js ${{ matrix.node-version }} | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: ${{ matrix.node-version }} | ||
cache: 'npm' | ||
- run: npm ci | ||
- run: npm run build --if-present | ||
- run: npm test | ||
- name: Install Poetry. | ||
uses: snok/install-poetry@v1.3.1 | ||
|
||
- name: Install dependencies. | ||
run: | | ||
poetry install --with docs | ||
- name: Build documentation. | ||
run: | | ||
mkdir gh-pages | ||
touch gh-pages/.nojekyll | ||
mv site/* ./gh-pages/ | ||
- name: Deploy documentation. | ||
if: ${{ github.event_name == 'push' }} | ||
uses: JamesIves/github-pages-deploy-action@v4.4.1 | ||
with: | ||
branch: gh-pages | ||
force: true | ||
folder: gh-pages |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
|
||
.DS_Store | ||
table-component/dist | ||
table-component/dist/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
node_modules | ||
|
||
|
||
./dist/* | ||
dist/ | ||
# local env files | ||
.env.local | ||
.env.*.local | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width,initial-scale=1"><title>table</title><link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto:100,300,400,500,700,900"><link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@mdi/font@latest/css/materialdesignicons.min.css"><link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto:100,300,400,500,700,900"><link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@mdi/font@latest/css/materialdesignicons.min.css"><link href="/css/app.5921e8d2.css" rel="preload" as="style"><link href="/css/chunk-vendors.ff603852.css" rel="preload" as="style"><link href="/js/app.5da4fec8.js" rel="preload" as="script"><link href="/js/chunk-vendors.69b84130.js" rel="preload" as="script"><link href="/css/chunk-vendors.ff603852.css" rel="stylesheet"><link href="/css/app.5921e8d2.css" rel="stylesheet"></head><div class="jumbotron"><h1>Mapping Commons</h1><h2>THIS MAPPING OVERVIEW IS UNDER DEVELOPMENT AND SHOULD NOT BE USED FOR ANYTHING.</h2><div>Mapping Commons pulls together mappings from various sources with the goal of offering them as simple to read, well provenanced TSV files in the <a href="https://github.com/mapping-commons/SSSOM/blob/master/SSSOM.md">SSSOM format</a>. At first, the effort will focus on biomedical ontologies and controlled vocabularies, see for example the <a href="https://github.com/mapping-commons/mh_mapping_initiative">Mouse-Human Ontology Mapping Effort</a>. The initiative was founded early 2021.</div><div class="mt-4">If you want to contribute mappings or have questions, please use the <a href="https://github.com/mapping-commons/mapping-commons.github.io/issues">issue tracker</a>.</div></div><div id="app"></div><script src="/js/chunk-vendors.69b84130.js"></script><script src="/js/app.5da4fec8.js"></script></html> | ||
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width,initial-scale=1"><title>table</title><link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto:100,300,400,500,700,900"><link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@mdi/font@latest/css/materialdesignicons.min.css"><link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto:100,300,400,500,700,900"><link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@mdi/font@latest/css/materialdesignicons.min.css"><link href="/css/app.5921e8d2.css" rel="preload" as="style"><link href="/css/chunk-vendors.ff603852.css" rel="preload" as="style"><link href="/js/app.5da4fec8.js" rel="preload" as="script"><link href="/js/chunk-vendors.69b84130.js" rel="preload" as="script"><link href="/css/chunk-vendors.ff603852.css" rel="stylesheet"><link href="/css/app.5921e8d2.css" rel="stylesheet"></head><body><noscript><strong>We're sorry but table doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id="app"></div><script src="/js/chunk-vendors.69b84130.js"></script><script src="/js/app.5da4fec8.js"></script></body></html> |