1
0
mirror of synced 2026-01-07 18:01:41 -05:00

Create assets src directory (#41570)

This commit is contained in:
Kevin Heis
2023-08-28 09:01:46 -07:00
committed by GitHub
parent f390f582ec
commit 7bd973f1d0
20 changed files with 51 additions and 28 deletions

View File

@@ -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 != '' }}

View File

@@ -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

View File

@@ -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', },

View File

@@ -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