mirror of
https://github.com/docker/setup-buildx-action.git
synced 2025-05-13 18:09:30 +02:00
Initial commit (docker/build-push-action#87)
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
This commit is contained in:
commit
04eaa7c789
21 changed files with 12365 additions and 0 deletions
17
__tests__/github.test.ts
Normal file
17
__tests__/github.test.ts
Normal file
|
@ -0,0 +1,17 @@
|
|||
import * as github from '../src/github';
|
||||
|
||||
describe('github', () => {
|
||||
it('returns latest buildx GitHub release', async () => {
|
||||
const release = await github.getRelease('latest');
|
||||
console.log(release);
|
||||
expect(release).not.toBeNull();
|
||||
expect(release?.tag_name).not.toEqual('');
|
||||
});
|
||||
|
||||
it('returns v0.2.2 buildx GitHub release', async () => {
|
||||
const release = await github.getRelease('v0.2.2');
|
||||
console.log(release);
|
||||
expect(release).not.toBeNull();
|
||||
expect(release?.tag_name).toEqual('v0.2.2');
|
||||
});
|
||||
});
|
Loading…
Add table
Add a link
Reference in a new issue