feat: update #3003
This file contains hidden or 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: project-test | |
| on: | |
| push: | |
| branches: | |
| - main | |
| jobs: | |
| test: | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| node-version: [24] | |
| runs-on: ubuntu-latest | |
| services: | |
| redis: | |
| image: redis:latest | |
| ports: | |
| - 6379:6379 | |
| steps: | |
| - uses: actions/checkout@v2 | |
| - uses: actions/setup-node@v2 | |
| with: | |
| node-version: ${{ matrix.node-version }} | |
| - uses: pnpm/action-setup@v4 | |
| with: | |
| version: 10.19.0 | |
| - run: npm i vona-cli -g | |
| - run: vona :create:project vona-test --template=basic | |
| - run: vona :create:module demo-student --suite --ci | |
| working-directory: vona-test | |
| - run: pnpm install --no-frozen-lockfile | |
| working-directory: vona-test | |
| - run: vona :tools:crud student --module=demo-student | |
| working-directory: vona-test | |
| - run: npm run test | |
| working-directory: vona-test | |
| - run: npm run build -- --flavor=ci | |
| working-directory: vona-test | |
| - run: npm run play -- --mode=prod --flavor=ci | |
| working-directory: vona-test |