Commit 8f6be44b authored by Paul Merlin's avatar Paul Merlin
Browse files

Split dev/prod CI workflows

parent 469bf612
Loading
Loading
Loading
Loading
+3 −9
Changes for .github/workflows/dev.yml: 3 added lines, 9 removed lines.
Original line number Diff line number Diff line
name: ci
name: dev

on:
  pull_request:
  push:

jobs:
  build: # make sure build/ci work properly
    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@v2
    - run: |
        npm install
        npm run all
  test: # make sure the action works on a clean machine without building
  check:
    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@v2
+19
Changes for .github/workflows/prod.yml: 19 added lines, 0 removed lines.
Original line number Diff line number Diff line
 # make sure the action works on a clean machine without building
name: prod

on:
  push:
    branches:
      - master
      - 'releases/*'

jobs:
  check:
    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@v2
    - uses: ./
      with:
        wrapper-directory: __tests__/data/basic
        build-root-directory: __tests__/data/basic
        arguments: help