Skip to content

Commit 0d5e440

Browse files
committed
0.3.0 - fix workflow
Fix: `Yarn build` needs to be run after installing dash dependencies.
1 parent 2de45f3 commit 0d5e440

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

.github/workflows/python-package.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,16 +39,16 @@ jobs:
3939
uses: borales/actions-yarn@v4
4040
with:
4141
cmd: install # will run `yarn install` command
42-
- name: Use Yarn to build component
43-
uses: borales/actions-yarn@v4
44-
with:
45-
cmd: build
4642
- name: Install dependencies
4743
run: |
4844
python -m pip install --upgrade pip
4945
python -m pip install flake8 pytest wheel
5046
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
5147
if [ -f tests/requirements.txt ]; then pip install -r tests/requirements.txt; fi
48+
- name: Use Yarn to build component
49+
uses: borales/actions-yarn@v4
50+
with:
51+
cmd: build
5252
- name: Lint with flake8
5353
run: |
5454
# stop the build if there are Python syntax errors or undefined names

Changelog.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@
2828
4. Fix: Some docker scripts may malfunction because `~/.bashrc` provided by some base images may skip in non-interactive mode. To fix this issue, ensure the entrypoint run in the interactive mode.
2929
5. Fix: If using the system-wide python and the newest version, the `pip` may be blocked unless a virtual environment is created. Now the python will run in the virtual environment if the system-wide python is used.
3030
6. Fix: Adjust the workflow to fix wrong version issues.
31+
7. Fix: `Corepack` needs to be enabled in the workflow explicitly.
32+
8. Fix: `Yarn build` needs to be run after installing dash dependencies.
3133

3234
#### :floppy_disk: Change
3335

0 commit comments

Comments
 (0)