Skip to content

Commit 25fecc7

Browse files
authored
Merge pull request #639 from contentstack/feature/workflow
wordpress test
2 parents 18ffe7e + 0fa0015 commit 25fecc7

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

.github/workflows/repo-sync.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ jobs:
184184
# npx prettier --write .
185185
186186
# eslint api/ ui/ upload-api/ --rule 'import/no-unresolved: error' --format compact | awk -F ':' '{print $1}' | sort -u | xargs -I {} sed -i '/import/d' {}
187-
node scripts/remove-broken-imports.js
187+
node remove-broken-imports.js
188188
189189
git add .
190190
git commit -m "Sync changes from migration-v2 PR #${{ github.event.pull_request.number }}"
@@ -289,7 +289,7 @@ jobs:
289289
rsync -av --delete ../ui/ ./ui/
290290
rsync -av --delete ${{ env.RSYNC_CONTENTFUL_UPLOAD_API_SRC_EXCLUDES }} ../upload-api/src/ ./upload-api/src/
291291
rsync -av --delete ../upload-api/migration-contentful/ ./upload-api/migration-contentful/
292-
node scripts/remove-broken-imports.js
292+
node remove-broken-imports.js
293293
294294
git add .
295295
git commit -m "Sync changes from migration-v2 PR #${{ github.event.pull_request.number }}"
@@ -393,7 +393,7 @@ jobs:
393393
rsync -av --delete ../ui/ ./ui/
394394
rsync -av --delete ${{ env.RSYNC_WORDPRESS_UPLOAD_API_SRC_EXCLUDES }} ../upload-api/src/ ./upload-api/src/
395395
rsync -av --delete ../upload-api/migration-wordpress/ ./upload-api/migration-wordpress/
396-
node scripts/remove-broken-imports.js
396+
node remove-broken-imports.js
397397
398398
git add .
399399
git commit -m "Sync changes from migration-v2 PR #${{ github.event.pull_request.number }}"

upload-api/migration-wordpress/libs/contenttypemapper.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ const config = require('../config');
77
const { writeFile, writeFileAsync } = require('../utils/helper');
88
const restrictedUid = require('../utils');
99

10-
1110
const { contentTypes: contentTypesConfig } = config.modules;
1211
const contentTypesFile = path.join(
1312
process.cwd(),

0 commit comments

Comments
 (0)