Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 32 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: CI

on:
push:
branches: [main]
pull_request:
branches: [main]

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4

- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 20
cache: 'npm'

- name: Install
run: npm ci

- name: Lint
run: npm run lint --if-present

- name: Test
run: npm test -- --watch=false --browsers=ChromeHeadless --no-cache

- name: Build
run: npm run build -- --configuration production
46 changes: 46 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
node_modules/
dist/
tmp/
out-tsc/
*.tsbuildinfo

# IDEs
.idea/
.vscode/
*.swp
*.swo
*~

# OS
.DS_Store
Thumbs.db

# Angular
# cache used by Angular CLI
.angular/
# environment files (keep example)
/environment.*.ts
!/environment.example.ts

# Test
coverage/
reports/

# Dependency directories
bower_components/
jspm_packages/

# Optional npm cache
.npm/

# Optional eslint cache
.eslintcache

# Yarn
.yarn/
yarn-error.log

# Compressed
*.zip
*.tar.gz
*.7z