From 7554d094d777deb950291d96e4849a6798b3e3ed Mon Sep 17 00:00:00 2001 From: Alexander Zeitler Date: Mon, 7 Jun 2021 22:16:47 +0200 Subject: [PATCH] ci: install compose cli v2 preview --- .github/workflows/ci.yml | 33 ++++++++++++++++++--------------- 1 file changed, 18 insertions(+), 15 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b6a033d..fa82903 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,8 +1,8 @@ name: Node.js CI -on: +on: push: - branches: + branches: - '*' pull_request: branches: @@ -12,20 +12,23 @@ jobs: runs-on: ubuntu-18.04 name: Lint steps: - - uses: actions/checkout@v2 - - uses: actions/setup-node@v1 - with: - node-version: '12' - - run: yarn - - run: yarn lint + - uses: actions/checkout@v2 + - uses: actions/setup-node@v1 + with: + node-version: '12' + - run: yarn + - run: yarn lint build: runs-on: ubuntu-18.04 name: Build + Test steps: - - uses: actions/checkout@v2 - - uses: actions/setup-node@v1 - with: - node-version: '12' - - run: yarn - - run: yarn build - - run: yarn test + - uses: actions/checkout@v2 + - uses: actions/setup-node@v1 + with: + node-version: '12' + - run: mkdir ~/.docker/cli-plugins + - 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: chmod +x ~/.docker/cli-plugins/docker-compose + - run: yarn + - run: yarn build + - run: yarn test