Angular + GitHub Actions CI
Lint, typecheck, test and build on every push and PR. This page shows exactly what pickstack adds to a Angular project for GitHub Actions CI: the packages, the new files and the changes to existing ones. Every combination is installed, built, linted and tested in CI.
$ npm create pickstack@latest my-app -- --framework angular --modules github-actions --yesCustomize in the configurator
New files
name: CI
on:
push:
branches: [main]
pull_request:
permissions:
contents: read
jobs:
ci:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v7
- uses: actions/setup-node@v7
with:
node-version: 24
# Once the lockfile is committed, add `cache: npm` to cache dependencies.
- run: npm install
- run: npm run typecheck
- run: npm run build
Changes to existing files
<section class="page"> <h1 class="title">About</h1>+ <p class="text">Built with Angular 22, TypeScript, GitHub Actions.</p>− <p class="text">Built with Angular 22, TypeScript.</p> </section>
Project files
.github/workflows/ci.yml.gitignoreREADME.mdangular.jsonpackage.jsonpublic/robots.txtsrc/app/app.config.tssrc/app/app.htmlsrc/app/app.routes.tssrc/app/app.tssrc/app/components/counter/counter.htmlsrc/app/components/counter/counter.tssrc/app/pages/about/about.htmlsrc/app/pages/about/about.tssrc/app/pages/home/home.htmlsrc/app/pages/home/home.tssrc/index.htmlsrc/main.tssrc/styles.csstsconfig.app.jsontsconfig.json