Skip to content

Merge branch 'refs/heads/main' into forman-33-api_tests #94

Merge branch 'refs/heads/main' into forman-33-api_tests

Merge branch 'refs/heads/main' into forman-33-api_tests #94

Workflow file for this run

name: Frontend CI workflow
on:
push:
paths:
- chartlets.js/**
jobs:
frontend:
runs-on: ubuntu-latest
steps:
- name: git-checkout chartlets
uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: '18.x'
- name: Install common dependencies
run: |
cd chartlets.js
npm install
- name: Lib lint
run: |
cd chartlets.js/packages/lib
npm run lint
- name: Lib tests
run: |
cd chartlets.js/packages/lib
npm run test
- name: Lib build
run: |
cd chartlets.js/packages/lib
npm run build
- name: Demo lint
run: |
cd chartlets.js/packages/demo
npm run lint
- name: Demo build
run: |
cd chartlets.js/packages/demo
npm run build