Add keycloak codebase #4
Workflow file for this run
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
name: Keycloak Build and Test | |
on: | |
pull_request: | |
paths: | |
- keycloak/** | |
jobs: | |
build-and-test: | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: keycloak | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 16.x | |
- name: Run CDK Build and Test | |
run: | | |
npm install | |
npm run build | |
- name: Run test coverage | |
run: | | |
npm test -- --coverage | |
- name: Upload coverage to Codecov | |
uses: codecov/codecov-action@v3 |