mirror of
https://github.com/dagger/dagger-for-github.git
synced 2026-01-03 13:49:45 +11:00
build and install dagger from source
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
This commit is contained in:
parent
7d447c263c
commit
a4e1b392be
13 changed files with 152 additions and 12 deletions
|
|
@ -2,6 +2,13 @@ import {describe, expect, it} from '@jest/globals';
|
|||
import * as fs from 'fs';
|
||||
import * as dagger from '../src/dagger';
|
||||
|
||||
describe('build', () => {
|
||||
it.skip('valid', async () => {
|
||||
const daggerBin = await dagger.build('https://github.com/dagger/dagger.git#refs/pull/2161/head');
|
||||
expect(fs.existsSync(daggerBin)).toBe(true);
|
||||
}, 100000);
|
||||
});
|
||||
|
||||
describe('install', () => {
|
||||
it('acquires latest version of Dagger', async () => {
|
||||
const daggerBin = await dagger.install('latest');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue