Skip to content

Merge branch 'main' into run-publish-workflow-on-publish-draft #606

Merge branch 'main' into run-publish-workflow-on-publish-draft

Merge branch 'main' into run-publish-workflow-on-publish-draft #606

Workflow file for this run

name: 'ci-react-template'
on:
push:
paths:
- 'packages/cli/templates/react/**'
- 'packages/field-plugin/**'
jobs:
check-if-releasing-library:
uses: ./.github/workflows/check-if-releasing-library.yml
test-and-build:
needs: check-if-releasing-library
if: ${{ needs.check-if-releasing-library.outputs.result == 'false' }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup node
uses: actions/setup-node@v3
with:
node-version: 18.16.0
cache: 'yarn'
- name: Install Dependencies
run: yarn install
- name: Build the template
run: yarn workspace field-plugin-react-template build
- name: Unit Tests
run: yarn workspace field-plugin-react-template test