From 0ac5822f7149ff1d75418131bfb6e664f03763da Mon Sep 17 00:00:00 2001 From: Shohei Ueda <30958501+peaceiris@users.noreply.github.com> Date: Fri, 27 Mar 2020 17:59:39 +0900 Subject: [PATCH] ci: Add workflow for develop container --- .github/workflows/dev-image.yml | 37 +++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 .github/workflows/dev-image.yml diff --git a/.github/workflows/dev-image.yml b/.github/workflows/dev-image.yml new file mode 100644 index 0000000..3c2cc3c --- /dev/null +++ b/.github/workflows/dev-image.yml @@ -0,0 +1,37 @@ +name: 'Dev Image CI' + +on: + push: + branches: + - master + paths: + - '.github/workflows/dev-image.yml' + - '.dockerignore' + - '.nvmrc' + - 'Dockerfile' + - 'Makefile' + pull_request: + types: + - opened + - synchronize + paths: + - '.github/workflows/dev-image.yml' + - '.dockerignore' + - '.nvmrc' + - 'Dockerfile' + - 'Makefile' + +jobs: + skipci: + runs-on: ubuntu-18.04 + steps: + - run: echo "[skip ci] ${{ contains(github.event.head_commit.message, '[skip ci]') }}" + + dev-image-test: + runs-on: ubuntu-18.04 + if: contains(github.event.head_commit.message, '[skip ci]') == false + steps: + - uses: actions/checkout@v2 + - run: make build + #- run: make cirun cmd="npm ci" + #- run: make ciall