Skip to content

Commit

Permalink
build custom plotly github action
Browse files Browse the repository at this point in the history
  • Loading branch information
schellj committed Jul 8, 2024
1 parent b3feb85 commit be66ed6
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/lint-and-build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Lint & Build Custom Plotly.js
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: lts/*
- run: npm ci
- run: npm run lint
- run: npm run custom-bundle -- --traces pie,bar,sunburst --transforms none
- uses: actions/upload-artifact@v4
with:
name: plotly-custom.min.js
path: dist/plotly-custom.min.js
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,4 @@ tags
!.npmignore
!.eslintrc
!.eslintignore
!.github

0 comments on commit be66ed6

Please sign in to comment.