Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 7 additions & 3 deletions .github/path-filters.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# This file is generated by scripts/update-gha-workflows.ts
#
# To regenerate: npm run refresh-gh-workflow

# The `&global` anchor defines a set of common paths to include by reference in the other filters.
global: &global
- ".github/path-filters.yml"
Expand All @@ -14,9 +18,6 @@ any-workspace:
task-herder:
- *global
- "packages/task-herder/**"
scratch-media-lib-scripts:
- *global
- "packages/scratch-media-lib-scripts/**"
scratch-svg-renderer:
- *global
- "packages/scratch-svg-renderer/**"
Expand All @@ -35,3 +36,6 @@ scratch-gui:
- "packages/scratch-render/**"
- "packages/scratch-svg-renderer/**"
- "packages/scratch-vm/**"
scratch-media-lib-scripts:
- *global
- "packages/scratch-media-lib-scripts/**"
6 changes: 1 addition & 5 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -192,11 +192,7 @@ jobs:
run: npm publish --access=public --tag="$NPM_TAG" --ignore-scripts --workspace=@scratch/task-herder

- name: Publish scratch-media-lib-scripts
run: |
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Those were some leftovers from the publish update PR, the build and token set happen earlier currently.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

npm run build --workspace @scratch/scratch-media-lib-scripts
npm publish --access=public --tag="$NPM_TAG" --workspace=@scratch/scratch-media-lib-scripts
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
run: npm publish --access=public --tag="$NPM_TAG" --ignore-scripts --workspace=@scratch/scratch-media-lib-scripts

- name: Push to Develop
shell: bash
Expand Down
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@
/monorepo.tmp
/monorepo.cache

# add-repo.sh
/add-repo.tmp

# Logs
logs
*.log
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"build-monorepo": "cross-env-shell ./scripts/build-monorepo.sh",
"clean": "npm run --workspaces clean",
"prepare": "husky install",
"refresh-gh-workflow": "ts-node scripts/build-gha-workflows.ts",
"refresh-gh-workflow": "ts-node scripts/update-gha-workflows.ts",
"test": "npm test --workspaces",
"update-legal": "npm --workspaces exec -c 'rm -f ./{LICENSE,TRADEMARK} && cp -f ../../{LICENSE,TRADEMARK} .'",
"version": "cross-env-shell ./scripts/npm-version.sh"
Expand Down
Loading
Loading