[DNM] debug create-react-admin on CI #9626
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 - action' | |
on: | |
push: | |
branches: | |
- master | |
- next | |
tags: | |
- '*' | |
pull_request: | |
jobs: | |
create-react-admin: | |
runs-on: ubuntu-latest | |
name: create-react-admin | |
needs: [] | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Use Node.js LTS | |
uses: actions/setup-node@v4 | |
with: | |
node-version: '22.x' | |
cache: 'yarn' | |
- name: Install dependencies | |
run: yarn | |
- name: Build create-react-admin | |
run: make build-create-react-admin install | |
- name: Create new project | |
run: ./node_modules/.bin/create-react-admin myadmin --data-provider ra-data-fakerest --auth-provider local-auth-provider --install npm | |
- name: Run the tests | |
working-directory: ./myadmin | |
run: npm run test |