diff --git a/.github/workflows/ci.yml b/.github/workflows/dev.yml similarity index 55% rename from .github/workflows/ci.yml rename to .github/workflows/dev.yml index 2213bf1..cc5cd73 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/dev.yml @@ -1,17 +1,11 @@ -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 diff --git a/.github/workflows/prod.yml b/.github/workflows/prod.yml new file mode 100644 index 0000000..8cc1e45 --- /dev/null +++ b/.github/workflows/prod.yml @@ -0,0 +1,19 @@ + # 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