Skip to content

Commit 6e6674a

Browse files
committed
Build bokehjs in CI
1 parent b361be5 commit 6e6674a

File tree

1 file changed

+51
-0
lines changed

1 file changed

+51
-0
lines changed

.github/workflows/test.yml

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
name: Test
2+
3+
on:
4+
pull_request:
5+
branches:
6+
- main
7+
push:
8+
branches:
9+
- main
10+
workflow_dispatch:
11+
schedule:
12+
- cron: "24 03 * * SUN"
13+
14+
concurrency:
15+
group: ${{ github.workflow }}-${{ github.ref }}
16+
cancel-in-progress: true
17+
18+
defaults:
19+
run:
20+
shell: bash
21+
22+
jobs:
23+
build-bokehjs:
24+
runs-on: ubuntu-24.04
25+
26+
steps:
27+
- name: Setup micromamba for node
28+
uses: mamba-org/setup-micromamba@v2
29+
with:
30+
environment-name: node-env
31+
create-args: >-
32+
nodejs=22
33+
init-shell: bash
34+
cache-environment: true
35+
36+
- name: Clone bokeh branch
37+
run: |
38+
git clone -b ianthomas23/bokehjs_examples_temp --single-branch --depth 1 [email protected]:bokeh/bokeh.git
39+
40+
- name: Build bokehjs
41+
working-directory: bokeh/bokehjs
42+
run: |
43+
node make build
44+
npm pack
45+
46+
- name: Upload bokehjs npm package
47+
uses: actions/upload-artifact@v4
48+
with:
49+
name: bokehjs-artifact
50+
path: bokeh/bokehjs/bokeh-bokehjs-*
51+
if-no-files-found: error

0 commit comments

Comments
 (0)