chore: add components
and helpers
packages and show example template
#1980
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
#This workflow runs the tests in the test projects to make sure the generator works as a library where it is a Node dependency along with the template. | |
name: Test using test project | |
on: | |
pull_request: | |
types: [opened, reopened, synchronize, ready_for_review] | |
jobs: | |
test: | |
if: github.event.pull_request.draft == false | |
name: Test generator as dependency with Node ${{ matrix.node }} | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node: ["18", "20"] | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
- name: Run test | |
run: NODE_IMAGE_TAG=${{ matrix.node }} docker compose up --abort-on-container-exit --remove-orphans --force-recreate | |
working-directory: ./apps/generator/test/test-project |