chore: too much yarn

This commit is contained in:
Vlad Frangu
2025-05-31 14:11:06 +03:00
parent 61cda0c1fb
commit b16b065d04
2 changed files with 3 additions and 3 deletions

View File

@@ -77,7 +77,7 @@ console.info(
`✅ Done! discord-api-types was bumped to ${newVersion['discord-api-types']}! Checking if there was a pull request open already and closing it if so...`,
);
if (!process.env.GITHUB_TOKEN) {
if (!process.env.GITHUB_TOKEN || !process.env.GITHUB_REPOSITORY) {
console.info('🙉 Skipping the pull request checks as no GITHUB_TOKEN was provided.');
process.exit(0);
}

View File

@@ -7,8 +7,8 @@ const json = JSON.parse(await readFile(new URL('../package.json', import.meta.ur
console.log(`⌛ Creating website version for ${json.version}`);
execSync(`yarn docusaurus docs:version ${json.version}`, { cwd, encoding: 'utf8' });
execSync(`yarn docusaurus api:version ${json.version}`, { cwd, encoding: 'utf8' });
execSync(`npm run docusaurus docs:version ${json.version}`, { cwd, encoding: 'utf8' });
execSync(`npm run docusaurus api:version ${json.version}`, { cwd, encoding: 'utf8' });
const bigJsonPath = new URL(`../website/versioned_docs/version-${json.version}/api-typedoc.json`, import.meta.url);