Skip to content

CI: Split integration tests to own workflow #1

CI: Split integration tests to own workflow

CI: Split integration tests to own workflow #1

name: "Test small babel app"
on: pull_request
jobs:
test:
runs-on: ubuntu-20.04
steps:
# Check out, and set up the node/ruby infra
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: "16"
- run: |
npm install -g create-react-app
create-react-app danger_babel_test
cd danger_babel_test
yarn add file:..
echo "warn('Expect 2 warnings'); const a = async () => {warn('the other');}; schedule(a)" > dangerfile.js
echo "Testing a blank Dangerfile on a babel CRA project"
DEBUG="*" yarn danger ci --text-only
cd ..
rm -rf danger_babel_test
name: "Make a small babel app"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}