Skip to content

Instantly share code, notes, and snippets.

@bobbyg603
Last active February 22, 2022 19:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bobbyg603/fca3a3eb56e483ae2e4eed258126e7af to your computer and use it in GitHub Desktop.
Save bobbyg603/fca3a3eb56e483ae2e4eed258126e7af to your computer and use it in GitHub Desktop.
GitHub Actions Continuous Integration Workflow for Angular
# Based on https://github.com/actions/starter-workflows/blob/main/ci/node.js.yml
name: CI
on:
pull_request:
branches:
- main
jobs:
ci:
runs-on: ubuntu-latest
steps:
- name: Checkout ✅
uses: actions/checkout@v2
- name: Setup 🏗
uses: actions/setup-node@v2
with:
node-version: lts/*
cache: 'npm'
- name: Install ⚙️
run: npm ci
- name: Build 🛠
run: npm run build:ci
- name: Test 📋
run: npm run test:ci
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment