Skip to content

Merge pull request #1489 from hubmapconsortium/collectionPolish #210

Merge pull request #1489 from hubmapconsortium/collectionPolish

Merge pull request #1489 from hubmapconsortium/collectionPolish #210

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
on:
push:
branches: [ "main", "dev-integrate" ]
pull_request:
branches: [ "main", "dev-integrate" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Use Node.js v20
uses: actions/setup-node@v3
with:
node-version: 20
- name: Set process.env.CI to false
run: echo "CI=false" >> $GITHUB_ENV
- name: Install dependencies
run: npm install
working-directory: src
- name: Build Project
run: npm run build
working-directory: src