build(deps): bump the angular group with 16 updates #1109
This file contains hidden or 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: 'Pull Request' | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
ref: ${{ github.event.pull_request.head.ref }} | |
fetch-depth: 0 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: '20.13' | |
cache: 'npm' | |
- name: Install modules | |
run: npm ci | |
- name: Prettier | |
run: npm run format:check | |
- name: Lint frontend | |
run: npm run ng:lint | |
- name: Lint server | |
run: npm run server:lint | |
- name: Unit tests | |
run: npm test | |
env: | |
# secret is set in organization settings | |
# https://github.com/organizations/Hochfrequenz/settings/secrets/actions/SQLITE_AHB_DB_7Z_ARCHIVE_PASSWORD | |
DB_7Z_ARCHIVE_PASSWORD: ${{ secrets.SQLITE_AHB_DB_7Z_ARCHIVE_PASSWORD }} | |
- name: Build frontend | |
run: npm run ng:build | |
- name: Build server | |
run: npm run server:build |