Skip to content

Commit

Permalink
Update deps.
Browse files Browse the repository at this point in the history
  • Loading branch information
milesj committed Jan 21, 2024
1 parent 6139793 commit 46c1c21
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 13 deletions.
9 changes: 9 additions & 0 deletions index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ function getRoot(): string {
return process.env.GITHUB_WORKSPACE!;
}

let TAG: string | null = null;
let PLUGIN: string | null = null;
let PLUGIN_VERSION: string | null = null;

Expand All @@ -34,6 +35,9 @@ function detectVersionAndProject() {
let project = '';
let version = '';

core.info(`Detected tag ${tag}`);
TAG = tag;

// project-v1.0.0
if (project.includes('-')) {
const lastIndex = project.lastIndexOf('-');
Expand Down Expand Up @@ -160,6 +164,11 @@ async function findBuildablePackages() {
return;
}

if (PLUGIN && pkg.name !== PLUGIN) {
core.info(`Skipping ${pkg.name}, not associated to tag ${TAG}`);
return;
}

core.info(`Found ${pkg.name}, loading manifest ${pkg.manifest_path}, checking targets`);

const manifest = TOML.parse(fs.readFileSync(pkg.manifest_path, 'utf8')) as Manifest;
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,11 @@
},
"devDependencies": {
"@types/changelog-parser": "^2.8.4",
"@types/node": "^20.11.0",
"@types/node": "^20.11.5",
"@vercel/ncc": "^0.38.1",
"eslint": "^8.56.0",
"eslint-config-moon": "^2.0.14",
"prettier": "^3.1.1",
"prettier": "^3.2.4",
"prettier-config-moon": "^1.1.2",
"ts-node": "^10.9.2",
"tsconfig-moon": "^1.3.0",
Expand Down
22 changes: 11 additions & 11 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 46c1c21

Please sign in to comment.