feat(angular): add browser-esbuild support #174
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: 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: 7.27.1 | |
- 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 |