Ts links 4 - more adjustments to link scripts in workflows (#53184)

This commit is contained in:
Kevin Heis 2024-11-19 09:01:34 -08:00 коммит произвёл GitHub
Родитель df949379e3
Коммит 3c2fc76273
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: B5690EEEBB952194
3 изменённых файлов: 5 добавлений и 2 удалений

3
.github/workflows/dont-delete-assets.yml поставляемый
Просмотреть файл

@ -17,6 +17,7 @@ on:
- main - main
paths: paths:
- 'assets/**' - 'assets/**'
- '.github/workflows/dont-delete-assets.yml'
permissions: permissions:
contents: read contents: read
@ -37,7 +38,7 @@ jobs:
id: comment id: comment
env: env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} 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 - name: Find possible previous comment
if: ${{ steps.comment.outputs.markdown != '' }} if: ${{ steps.comment.outputs.markdown != '' }}

3
.github/workflows/validate-asset-images.yml поставляемый
Просмотреть файл

@ -9,6 +9,7 @@ on:
pull_request: pull_request:
paths: paths:
- 'assets/**' - 'assets/**'
- '.github/workflows/validate-asset-images.yml'
permissions: permissions:
contents: read contents: read
@ -24,4 +25,4 @@ jobs:
- uses: ./.github/actions/node-npm-setup - uses: ./.github/actions/node-npm-setup
- name: Validate all asset images - name: Validate all asset images
run: tsx src/assets/scripts/validate-asset-images.ts run: npm run validate-asset-images

Просмотреть файл

@ -31,6 +31,7 @@
"create-acr-token": "tsx src/workflows/acr-create-token.js", "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", "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", "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", "deleted-features-pr-comment": "tsx src/data-directory/scripts/deleted-features-pr-comment.ts",
"dev": "cross-env npm start", "dev": "cross-env npm start",
"find-orphaned-assets": "tsx src/assets/scripts/find-orphaned-assets.ts", "find-orphaned-assets": "tsx src/assets/scripts/find-orphaned-assets.ts",