ci: install compose cli v2 preview

This commit is contained in:
Alexander Zeitler 2021-06-07 22:16:47 +02:00
parent 9677f1ab45
commit 7554d094d7

View file

@ -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