Skip to content

Commit bbcf7dd

Browse files
committed
Undo unnecessary changes
1 parent e54df58 commit bbcf7dd

File tree

2 files changed

+48
-50
lines changed

2 files changed

+48
-50
lines changed

.github/actions/pack_streamlit_component_library/action.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,6 @@ runs:
3434
- name: Install node dependencies for streamlit-component-lib
3535
working-directory: ${{ inputs.working_directory }}/component-lib/
3636
shell: bash
37-
# Note that the version here needs to match the version of yarn specified in the
38-
# Streamlit repo: https://github.com/streamlit/streamlit/blob/develop/frontend/package.json
3937
run: |
4038
corepack enable
4139
corepack install

.github/workflows/ci.yaml

Lines changed: 48 additions & 48 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@ name: CI
22

33
on:
44
push:
5-
branches:
6-
- 'master'
5+
branches:
6+
- "master"
77
pull_request:
8-
branches:
9-
- 'master'
8+
branches:
9+
- "master"
1010

1111
jobs:
1212
build-examples-templates-and-run-dockerized-e2e-tests:
@@ -30,56 +30,56 @@ jobs:
3030

3131
env:
3232
NODE_VERSION: ${{ matrix.node_version }}
33-
PYTHON_VERSION: 3.8 # Oldest version supported by Streamlit
33+
PYTHON_VERSION: 3.8 # Oldest version supported by Streamlit
3434
STREAMLIT_VERSION: ${{ matrix.streamlit_version }}
3535
COMPONENT_LIB_VERSION: ${{ matrix.component_lib_version }}
3636

3737
name: Examples + Templates / node_version=${{ matrix.node_version }} / streamlit_version=${{ matrix.streamlit_version }} / component_lib_version=${{ matrix.component_lib_version }}
3838

3939
steps:
40-
- uses: actions/checkout@v3
41-
with:
42-
persist-credentials: false
43-
path: component-template
44-
45-
- name: Use Node.js ${{ env.NODE_VERSION }}
46-
uses: actions/setup-node@v3
47-
with:
48-
node-version: ${{ env.NODE_VERSION }}
49-
50-
- name: Check dependencies for examples
51-
run: ./dev.py examples-check-deps
52-
working-directory: ./component-template/
53-
54-
- name: Check e2e utils files
55-
run: ./dev.py e2e-utils-check
56-
working-directory: ./component-template/
57-
58-
- name: Pack Streamlit Component Library
59-
uses: ./component-template/.github/actions/pack_streamlit_component_library
60-
if: matrix.component_lib_version == 'develop'
61-
id: streamlit_component_library
62-
63-
- name: Build components wheels
64-
uses: ./component-template/.github/actions/build_component_wheels
65-
id: component_wheels
66-
with:
67-
custom_streamlit_component_lib_file: >-
68-
${{ matrix.component_lib_version == 'develop' && steps.streamlit_component_library.outputs.output_file || '' }}
69-
70-
- name: Upload wheel packages
71-
uses: actions/upload-artifact@v4
72-
with:
73-
name: all-wheel-${{ matrix.node_version }}-${{ matrix.component_lib_version }}-${{ matrix.streamlit_version }}
74-
path: ${{ steps.component_wheels.outputs.output_directory }}/*.whl
75-
if-no-files-found: error
76-
77-
- name: Run E2E tests
78-
if: matrix.node_version == '22.x'
79-
uses: ./component-template/.github/actions/run_e2e
80-
with:
81-
python_version: ${{ env.PYTHON_VERSION }}
82-
streamlit_version: ${{ env.STREAMLIT_VERSION }}
40+
- uses: actions/checkout@v3
41+
with:
42+
persist-credentials: false
43+
path: component-template
44+
45+
- name: Use Node.js ${{ env.NODE_VERSION }}
46+
uses: actions/setup-node@v3
47+
with:
48+
node-version: ${{ env.NODE_VERSION }}
49+
50+
- name: Check dependencies for examples
51+
run: ./dev.py examples-check-deps
52+
working-directory: ./component-template/
53+
54+
- name: Check e2e utils files
55+
run: ./dev.py e2e-utils-check
56+
working-directory: ./component-template/
57+
58+
- name: Pack Streamlit Component Library
59+
uses: ./component-template/.github/actions/pack_streamlit_component_library
60+
if: matrix.component_lib_version == 'develop'
61+
id: streamlit_component_library
62+
63+
- name: Build components wheels
64+
uses: ./component-template/.github/actions/build_component_wheels
65+
id: component_wheels
66+
with:
67+
custom_streamlit_component_lib_file: >-
68+
${{ matrix.component_lib_version == 'develop' && steps.streamlit_component_library.outputs.output_file || '' }}
69+
70+
- name: Upload wheel packages
71+
uses: actions/upload-artifact@v4
72+
with:
73+
name: all-wheel-${{ matrix.node_version }}-${{ matrix.component_lib_version }}-${{ matrix.streamlit_version }}
74+
path: ${{ steps.component_wheels.outputs.output_directory }}/*.whl
75+
if-no-files-found: error
76+
77+
- name: Run E2E tests
78+
if: matrix.node_version == '22.x'
79+
uses: ./component-template/.github/actions/run_e2e
80+
with:
81+
python_version: ${{ env.PYTHON_VERSION }}
82+
streamlit_version: ${{ env.STREAMLIT_VERSION }}
8383

8484
build-cookiecutter:
8585
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)