Skip to content

Contribution guidelines: add note on individual requirements files and associated notebook cell #158

Contribution guidelines: add note on individual requirements files and associated notebook cell

Contribution guidelines: add note on individual requirements files and associated notebook cell #158

Workflow file for this run

name: CI
'on':
push:
branches:
- main
pull_request:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Read .nvmrc
id: node_version
run: echo ::set-output name=NODE_VERSION::$(cat .nvmrc)
- name: Set up node
uses: actions/setup-node@v2
with:
node-version: ${{ steps.node_version.outputs.NODE_VERSION }}
- name: Cache dependencies
uses: actions/cache@v2
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ steps.node_version.outputs.NODE_VERSION }}-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-${{ steps.node_version.outputs.NODE_VERSION }}
- run: npm ci
name: Install
- run: npm run lint
name: ESLint
- run: npm run prettier
name: Prettier
- run: npm run build
name: Build