mirror of
https://github.com/danbulant/docker-compose
synced 2026-05-20 04:48:36 +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
33
.github/workflows/ci.yml
vendored
33
.github/workflows/ci.yml
vendored
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue