Skip to content

Commit

Permalink
Ts links 4 - more adjustments to link scripts in workflows (#53184)
Browse files Browse the repository at this point in the history
  • Loading branch information
heiskr authored Nov 19, 2024
1 parent df94937 commit 3c2fc76
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/dont-delete-assets.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ on:
- main
paths:
- 'assets/**'
- '.github/workflows/dont-delete-assets.yml'

permissions:
contents: read
Expand All @@ -37,7 +38,7 @@ jobs:
id: comment
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: src/assets/scripts/deleted-assets-pr-comment.js
run: npm run deleted-assets-pr-comment

- name: Find possible previous comment
if: ${{ steps.comment.outputs.markdown != '' }}
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/validate-asset-images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ on:
pull_request:
paths:
- 'assets/**'
- '.github/workflows/validate-asset-images.yml'

permissions:
contents: read
Expand All @@ -24,4 +25,4 @@ jobs:
- uses: ./.github/actions/node-npm-setup

- name: Validate all asset images
run: tsx src/assets/scripts/validate-asset-images.ts
run: npm run validate-asset-images
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
"create-acr-token": "tsx src/workflows/acr-create-token.js",
"debug": "cross-env NODE_ENV=development ENABLED_LANGUAGES=en nodemon --inspect src/frame/server.ts",
"delete-orphan-translation-files": "tsx src/workflows/delete-orphan-translation-files.ts",
"deleted-assets-pr-comment": "tsx src/assets/scripts/deleted-assets-pr-comment.ts",
"deleted-features-pr-comment": "tsx src/data-directory/scripts/deleted-features-pr-comment.ts",
"dev": "cross-env npm start",
"find-orphaned-assets": "tsx src/assets/scripts/find-orphaned-assets.ts",
Expand Down

0 comments on commit 3c2fc76

Please sign in to comment.