mirror of
https://github.com/hoverkraft-tech/compose-action.git
synced 2026-01-11 15:13:06 +08:00
* fix: broken action test * fix: run npm install * fix: add missing node_modules * fix: invalid option creating * fix: add missing composeFile parameter * fix: change test order * WIP: add debug code * WIP: fix main.js * WIP: fix action * WIP: debug * WIP: debug * fix: remove double quote
23 lines
474 B
YAML
23 lines
474 B
YAML
on:
|
|
workflow_dispatch:
|
|
pull_request:
|
|
branches:
|
|
- main
|
|
|
|
jobs:
|
|
test-compose-action:
|
|
runs-on: ubuntu-latest
|
|
name: test compose action
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- uses: ./
|
|
with:
|
|
compose-file: "./docker/docker-compose.yml"
|
|
services: |
|
|
helloworld2
|
|
helloworld3
|
|
- uses: ./
|
|
with:
|
|
compose-file: "./docker/docker-compose.yml"
|
|
down-flags: "--volumes"
|