Separate integration workflow

This commit is contained in:
Jonathan Clem
2020-02-27 17:44:41 -05:00
parent 7afad1e364
commit d73e75dea8
4 changed files with 19 additions and 16 deletions

View File

@@ -3,20 +3,7 @@ on:
pull_request: {branches: master}
jobs:
integration:
runs-on: ubuntu-latest
steps:
- name: output-set
uses: actions/github-script@master
with:
script: |
core.setOutput('result', 'test')
- run: |
if [[ "${{steps.output-set.outputs.result}}" != "test" ]]; then
exit 1
fi
jest:
ci:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2

16
.github/workflows/integration.yml vendored Normal file
View File

@@ -0,0 +1,16 @@
on:
push: {branches: integration-workflow}
jobs:
integration:
runs-on: ubuntu-latest
steps:
- id: output-set
uses: actions/github-script@integration-workflow
with:
script: return 'test'
result-encoding: string
- run: |
if [[ "${{steps.output-set.outputs.result}}" != "test" ]]; then
exit 1
fi