feat: add jest-support #184
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: Node.js CI | |
on: | |
pull_request: | |
branches: [main] | |
jobs: | |
build: | |
name: Build | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 18 | |
- uses: pnpm/action-setup@v2 | |
with: | |
version: 8.8.0 | |
- name: Install Packages | |
run: | | |
pnpm i | |
- name: Build Packages | |
run: | | |
pnpm build | |
pnpm i # create bin scripts | |
- name: Test Packages | |
run: | | |
pnpm test | |
- name: Build and Test Examples | |
run: | | |
cd examples | |
npx playwright install --with-deps | |
cd apps/ng-app-cli | |
# npx ng add ../../../packages/angular --skip-confirmation | |
npx tsc --noEmit --project tsconfig.app.json | |
cd - | |
pnpm build:all | |
pnpm test:all | |
pnpm e2e:all |