mirror of
https://github.com/danbulant/docker-compose
synced 2026-05-27 14:01:46 +00:00
ci: install compose cli v2 preview
This commit is contained in:
parent
9677f1ab45
commit
7554d094d7
1 changed files with 18 additions and 15 deletions
29
.github/workflows/ci.yml
vendored
29
.github/workflows/ci.yml
vendored
|
|
@ -12,20 +12,23 @@ jobs:
|
||||||
runs-on: ubuntu-18.04
|
runs-on: ubuntu-18.04
|
||||||
name: Lint
|
name: Lint
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- uses: actions/setup-node@v1
|
- uses: actions/setup-node@v1
|
||||||
with:
|
with:
|
||||||
node-version: '12'
|
node-version: '12'
|
||||||
- run: yarn
|
- run: yarn
|
||||||
- run: yarn lint
|
- run: yarn lint
|
||||||
build:
|
build:
|
||||||
runs-on: ubuntu-18.04
|
runs-on: ubuntu-18.04
|
||||||
name: Build + Test
|
name: Build + Test
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- uses: actions/setup-node@v1
|
- uses: actions/setup-node@v1
|
||||||
with:
|
with:
|
||||||
node-version: '12'
|
node-version: '12'
|
||||||
- run: yarn
|
- run: mkdir ~/.docker/cli-plugins
|
||||||
- run: yarn build
|
- run: curl -L -o ~/.docker/cli-plugins/docker-compose https://github.com/docker/compose-cli/releases/download/v2.0.0-beta.3/docker-compose-linux-amd64
|
||||||
- run: yarn test
|
- run: chmod +x ~/.docker/cli-plugins/docker-compose
|
||||||
|
- run: yarn
|
||||||
|
- run: yarn build
|
||||||
|
- run: yarn test
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue