Skip to content
This repository has been archived by the owner on Apr 8, 2024. It is now read-only.

Commit

Permalink
fix: skip lwc NUTs because of API 403
Browse files Browse the repository at this point in the history
  • Loading branch information
iowillhoit committed Aug 26, 2022
1 parent 2bd75ea commit d949ead
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion scripts/run-plugin-nuts.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,10 @@ const manualRepoOverrides = {
},
};

// Temporarily skipping sfdx-plugin-lwc-test until migration to github actions is complete.
// Context: After key rotation work, we have been unable to call the circleci api to trigger the just-nuts workflow.
const reposToIgnore = ['@salesforce/sfdx-plugin-lwc-test'];

const modulesWithScheduledPipelines = ['@salesforce/plugin-signups'];

const hasTestNuts = (module) => {
Expand Down Expand Up @@ -190,7 +194,9 @@ const qualifyPluginsWithNonUnitTests = (timeCreated, modules) => {
// convert array to object
.map(([name, version]) => ({ name, version }))
// and only interested in salesforce modules
.filter((module) => /^@*salesforce/.test(module.name));
.filter((module) => /^@*salesforce/.test(module.name))
// remove modules in the ignore list
.filter((module) => !reposToIgnore.includes(module.name));
// determine if current module should be include (has a nut test) and qualify all of current modules dependencies
return [
...(hasTestNuts(module) ? [module] : []),
Expand Down

0 comments on commit d949ead

Please sign in to comment.