CI: Split integration tests to own workflow #2
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "Test small babel app" | |
on: pull_request | |
jobs: | |
test-create_react_app: | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: "16" | |
- run: | | |
set -x | |
yarn install | |
yarn build | |
yarn 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 }} |