Last active
February 22, 2022 19:57
-
-
Save bobbyg603/fca3a3eb56e483ae2e4eed258126e7af to your computer and use it in GitHub Desktop.
GitHub Actions Continuous Integration Workflow for Angular
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
# 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