Skip to content
This repository has been archived by the owner on Oct 4, 2024. It is now read-only.

Commit

Permalink
Canged verification workflow (#74)
Browse files Browse the repository at this point in the history
* changed verification workflow

* changed naming

* removed unecessary comments
  • Loading branch information
benedictweis authored and henrybrink committed Apr 4, 2024
1 parent e45c2d1 commit f38f7cb
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 11 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/backend.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
# This workflow will do a clean installation of node dependencies, cache/restore them, build the source code and run tests across different versions of node
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-nodejs

name: Backend

Expand All @@ -9,7 +7,7 @@ on:
- main

jobs:
build:
verify:
runs-on: ubuntu-latest

steps:
Expand All @@ -26,5 +24,5 @@ jobs:
- name: Install dependencies
run: cd backend && npm install

- name: Run tests
run: cd backend && npm test
- name: Run verify
run: cd backend && npm run verify
6 changes: 2 additions & 4 deletions .github/workflows/frontend.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
# This workflow will do a clean installation of node dependencies, cache/restore them, build the source code and run tests across different versions of node
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-nodejs

name: Frontend

Expand All @@ -9,7 +7,7 @@ on:
- main

jobs:
build:
verify:
runs-on: ubuntu-latest

steps:
Expand All @@ -27,4 +25,4 @@ jobs:
run: cd frontend && npm install

- name: Run tests
run: cd frontend && npm test
run: cd frontend && npm run test
8 changes: 6 additions & 2 deletions backend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,17 @@
"private": true,
"license": "UNLICENSED",
"scripts": {
"verify": "npm run build && npm run check && npm run test:cov && npm run test:e2e",
"build": "nest build",
"format": "prettier --write \"src/**/*.ts\" \"test/**/*.ts\"",
"start": "nest start",
"start:dev": "nest start --watch",
"start:debug": "nest start --debug --watch",
"start:prod": "node dist/main",
"format": "prettier --write \"src/**/*.ts\" \"test/**/*.ts\"",
"check:format": "prettier --check \"src/**/*.ts\" \"test/**/*.ts\"",
"lint": "eslint \"{src,apps,libs,test}/**/*.ts\" --fix",
"check:lint": "eslint \"{src,apps,libs,test}/**/*.ts\"",
"check": "npm run check:format && npm run check:lint",
"test": "jest",
"test:watch": "jest --watch",
"test:cov": "jest --coverage",
Expand All @@ -36,7 +40,7 @@
"@types/supertest": "^6.0.0",
"@typescript-eslint/eslint-plugin": "^6.0.0",
"@typescript-eslint/parser": "^6.0.0",
"eslint": "^8.42.0",
"eslint": "^8.57.0",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-prettier": "^5.0.0",
"jest": "^29.5.0",
Expand Down

0 comments on commit f38f7cb

Please sign in to comment.