mirror of
https://github.com/discordjs/discord-api-types.git
synced 2026-06-03 09:20:10 +00:00
chore: too much yarn
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user