Formatted changes

pull/38/head
HarithaVattikuti 2 years ago
parent d957d85994
commit 9d31cd5322

@ -11,4 +11,4 @@ jobs:
name: Basic validation
uses: actions/reusable-workflows/.github/workflows/basic-validation.yml@main
with:
node-version: '20'
node-version: '20'

@ -16,4 +16,4 @@ jobs:
name: Check dist/
uses: actions/reusable-workflows/.github/workflows/check-dist.yml@main
with:
node-version: '20'
node-version: '20'

@ -57,10 +57,12 @@ export async function validateIfReleaseIsPublished(
octokitClient: InstanceType<typeof GitHub>
): Promise<void> {
try {
const {data: foundRelease} = await octokitClient.rest.repos.getReleaseByTag({
...context.repo,
tag
});
const {data: foundRelease} = await octokitClient.rest.repos.getReleaseByTag(
{
...context.repo,
tag
}
);
if (foundRelease.prerelease) {
throw new Error(

Loading…
Cancel
Save