Skip to content

fix: redraw chart on window resize to fix browser-zoom misalignment #31

fix: redraw chart on window resize to fix browser-zoom misalignment

fix: redraw chart on window resize to fix browser-zoom misalignment #31

Workflow file for this run

name: CI
on:
push:
branches: [master]
pull_request:
branches: [master]
jobs:
build:
name: Build & Test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: '20'
- name: Install dependencies
run: npm install --legacy-peer-deps
- name: Build library
run: npm run build:lib
- name: Copy library for app
run: npm run copy
- name: Build demo app
run: npx ng build dev --configuration production --base-href /ng-gantt/
deploy:
name: Deploy to GitHub Pages
needs: build
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/master' && github.event_name == 'push'
steps:
- uses: actions/checkout@v3
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: '20'
- name: Install dependencies
run: npm install --legacy-peer-deps
- name: Build library
run: npm run build:lib
- name: Copy library for app
run: npm run copy
- name: Build demo app for production
run: npx ng build dev --configuration production --base-href /ng-gantt/
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./dist/app
cname: ''