mirror of
https://github.com/actions/publish-action.git
synced 2025-06-24 11:51:09 +02:00
Node version upgrade to 20 (#38)
* Node version update to 20 * 1.0.0 * Run Format check * Formatted changes * Update package.json Co-authored-by: MaksimZhukov <46996400+MaksimZhukov@users.noreply.github.com> * Update api-utils.ts --------- Co-authored-by: MaksimZhukov <46996400+MaksimZhukov@users.noreply.github.com>
This commit is contained in:
@ -13,7 +13,7 @@ process.env.GITHUB_REPOSITORY = 'test/repository';
|
||||
|
||||
describe('validateIfReleaseIsPublished', () => {
|
||||
beforeEach(() => {
|
||||
getReleaseSpy = jest.spyOn(octokitClient.repos, 'getReleaseByTag');
|
||||
getReleaseSpy = jest.spyOn(octokitClient.rest.repos, 'getReleaseByTag');
|
||||
});
|
||||
|
||||
it('throw if release is marked as pre-release', async () => {
|
||||
|
Reference in New Issue
Block a user