Create assets src directory (#41570)
This commit is contained in:
2
.github/workflows/dont-delete-assets.yml
vendored
2
.github/workflows/dont-delete-assets.yml
vendored
@@ -37,7 +37,7 @@ jobs:
|
||||
id: comment
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
run: .github/actions-scripts/deleted-assets-pr-comment.js
|
||||
run: src/assets/scripts/deleted-assets-pr-comment.js
|
||||
|
||||
- name: Find possible previous comment
|
||||
if: ${{ steps.comment.outputs.markdown != '' }}
|
||||
|
||||
2
.github/workflows/orphaned-assets-check.yml
vendored
2
.github/workflows/orphaned-assets-check.yml
vendored
@@ -41,7 +41,7 @@ jobs:
|
||||
run: |
|
||||
set -e
|
||||
|
||||
filesToRemove=`./script/find-orphaned-assets.js`
|
||||
filesToRemove=`./src/assets/scripts/find-orphaned-assets.js`
|
||||
[ -z "$filesToRemove" ] && exit 0
|
||||
|
||||
${filesToRemove} | xargs git rm
|
||||
|
||||
2
.github/workflows/test.yml
vendored
2
.github/workflows/test.yml
vendored
@@ -42,6 +42,8 @@ jobs:
|
||||
// Note that *if you add* to this, remember to also add that
|
||||
// to the **required checks** in the branch protection rules.
|
||||
return [
|
||||
{ name: 'assets', path: 'src/assets/tests', },
|
||||
// { name: 'audit-logs', path: 'src/assets/audit-logs', },
|
||||
{ name: 'automated-pipelines', path: 'src/automated-pipelines/tests', },
|
||||
{ name: 'content', path: 'tests/content', },
|
||||
{ name: 'content-render', path: 'src/content-render/tests', },
|
||||
|
||||
2
.github/workflows/validate-asset-images.yml
vendored
2
.github/workflows/validate-asset-images.yml
vendored
@@ -23,4 +23,4 @@ jobs:
|
||||
- uses: ./.github/actions/node-npm-setup
|
||||
|
||||
- name: Validate all asset images
|
||||
run: ./script/validate-asset-images.js
|
||||
run: src/assets/scripts/validate-asset-images.js
|
||||
|
||||
Reference in New Issue
Block a user