Skip to content

Removing stuff

Removing stuff #2

Workflow file for this run

name: build
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
# Checkout repository
- name: Checkout code
uses: actions/checkout@v3
# Set up Node.js environment
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: 18
# Cache Node.js dependencies
- name: Cache Node.js modules
uses: actions/cache@v3
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
# Install dependencies
- name: Install dependencies
run: npm install
# Run unit tests
- name: Run unit tests
run: npm test -- --watch=false
# Build the Angular application
- name: Build Angular app
run: npm run build -- --prod