-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
7b8271c
commit 06cb504
Showing
4 changed files
with
36 additions
and
30 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
name: Code Quality Checks | ||
run-name: ${{ github.run_id }} - Code Quality Checks | ||
on: | ||
pull_request: | ||
types: [opened, reopened] | ||
push: | ||
branches: | ||
- main | ||
- APPT-108/pre-commit-and-actions | ||
jobs: | ||
run-jest-tests: | ||
name: Frontend build, linting and tests | ||
runs-on: ubuntu-latest | ||
defaults: | ||
run: | ||
working-directory: src/new-client | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: actions/setup-node@v4 | ||
with: | ||
node-version: "20" | ||
- run: npm ci | ||
- run: npm run tsc | ||
- run: npm run lint | ||
- run: npm run test | ||
run-backend-tests: | ||
name: Backend restore, build and tests | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: actions/setup-dotnet@v4 | ||
with: | ||
dotnet-version: "8.0.x" | ||
- run: dotnet build nbs-appointments-management-service.sln | ||
- run: dotnet test nbs-appointments-management-service.sln | ||
|
This file was deleted.
Oops, something went wrong.
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
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