Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit be66ed6

Browse files
committed
build custom plotly github action
1 parent b3feb85 commit be66ed6

File tree

2 files changed

+18
-0
lines changed

2 files changed

+18
-0
lines changed

.github/workflows/lint-and-build.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: Lint & Build Custom Plotly.js
2+
on: [push]
3+
jobs:
4+
build:
5+
runs-on: ubuntu-latest
6+
steps:
7+
- uses: actions/checkout@v4
8+
- uses: actions/setup-node@v4
9+
with:
10+
node-version: lts/*
11+
- run: npm ci
12+
- run: npm run lint
13+
- run: npm run custom-bundle -- --traces pie,bar,sunburst --transforms none
14+
- uses: actions/upload-artifact@v4
15+
with:
16+
name: plotly-custom.min.js
17+
path: dist/plotly-custom.min.js

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,3 +17,4 @@ tags
1717
!.npmignore
1818
!.eslintrc
1919
!.eslintignore
20+
!.github

0 commit comments

Comments
 (0)