Skip to content

wip

wip #7

name: Setup, test and build
on:
pull_request:
branches:
- master
jobs:
setup:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Install root dependencies
run: yarn
build:
needs: setup
runs-on: ubuntu-latest
steps:
- name: Full debug
run: |
pwd

Check failure on line 26 in .github/workflows/setup-test-and-build.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/setup-test-and-build.yml

Invalid workflow file

You have an error in your yaml syntax on line 26
ls -la
echo "Parent dir:"
ls -la ..
echo "Grandparent dir:"
ls -la ../..
- name: Build
run: |
yarn build
- name: Check TS declaration files
run: |
[[ -f react/dist/index.d.ts ]]
test:
needs: setup
runs-on: ubuntu-latest
steps:
- name: Run react unit tests
run: yarn test