Skip to content

Commit 953aff1

Browse files
authored
Merge pull request #481 from scratchfoundation/uepr-530-separate-media-libraries-build-script-in-its-own-package
[UEPR-530] Add media libraries build script in its own package
2 parents 5620b60 + b0b76d2 commit 953aff1

20 files changed

Lines changed: 3944 additions & 2 deletions

.github/path-filters.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@ any-workspace:
1414
task-herder:
1515
- *global
1616
- "packages/task-herder/**"
17+
scratch-media-lib-scripts:
18+
- *global
19+
- "packages/scratch-media-lib-scripts/**"
1720
scratch-svg-renderer:
1821
- *global
1922
- "packages/scratch-svg-renderer/**"

.github/workflows/publish.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,13 @@ jobs:
126126
env:
127127
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
128128

129+
- name: Publish scratch-media-lib-scripts
130+
run: |
131+
npm run build --workspace @scratch/scratch-media-lib-scripts
132+
npm publish --access=public --tag="${{steps.npm_tag.outputs.npm_tag}}" --workspace=@scratch/scratch-media-lib-scripts
133+
env:
134+
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
135+
129136
- name: Push to develop
130137
shell: bash
131138
run: |

0 commit comments

Comments
 (0)