From bba4ae490f39476e90205cf9983d2f0773378c38 Mon Sep 17 00:00:00 2001 From: Raphael Schweizer Date: Thu, 4 Apr 2024 15:41:06 +0200 Subject: [PATCH] 'CI' --- .github/workflows/ci.yml | 13 +++++++++++++ package.json | 2 +- 2 files changed, 14 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/ci.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..f3443f9 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,13 @@ +on: + push: + branches: [main] +jobs: + build: + name: test + runs-on: ubuntu-22.04 + steps: + - uses: actions/checkout@v4 + with: + fetch-depth: 0 + - run: npm ci + - run: npm run test diff --git a/package.json b/package.json index 4e79b91..98f785a 100644 --- a/package.json +++ b/package.json @@ -6,7 +6,7 @@ "start": "ng serve", "build": "ng build", "watch": "ng build --watch --configuration development", - "test": "ng test" + "test": "ng test --browsers ChromeHeadless --watch=false" }, "private": true, "dependencies": {