2020-03-27 10:07:48 +00:00
|
|
|
name: 'Dev Image CI'
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches:
|
2020-07-17 06:38:09 +00:00
|
|
|
- main
|
2020-03-27 10:07:48 +00:00
|
|
|
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"
|
2020-11-21 02:27:14 +00:00
|
|
|
# - run: make ciall
|
|
|
|
- run: make cirun cmd="npm run format:check"
|
|
|
|
- run: make cirun cmd="npm run lint"
|