Skip to content

default intraInstrument to true in the case of a single instument model #40

default intraInstrument to true in the case of a single instument model

default intraInstrument to true in the case of a single instument model #40

Workflow file for this run

# 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
env:
CI: false
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Use Node.js 18.x
uses: actions/setup-node@v3
with:
node-version: '18.x'
cache: 'npm'
- run: "wget https://harmonydata.github.io/website/public.tar.gz"
name: Download static page. The source is in https://github.com/harmonydata/website.
- run: npm ci
- run: npm run build --if-present
- run: "tar -xvf public.tar.gz"
- run: "mv build public/app"
# - run: npm test
- name: Deploy
uses: s0/git-publish-subdir-action@develop
env:
REPO: self
BRANCH: gh-pages
FOLDER: public
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}