refactor: migrate configuration to use @nestjs/config, migrate control of lifecycles to use @nestjs/event-emitter and improve structure #100
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: Build and Test | |
on: | |
pull_request: | |
push: | |
branches: | |
- main | |
jobs: | |
build-and-test: | |
runs-on: windows-latest | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
MAIN_VITE_APTABASE_APP_KEY: ${{ secrets.MAIN_VITE_APTABASE_APP_KEY }} | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Install | |
run: npm ci | |
- name: Lint | |
run: npm run lint | |
- name: Test | |
run: npm test | |
- name: Upload HTML Report | |
uses: actions/upload-artifact@v4 | |
with: | |
name: coverage | |
path: coverage/ | |
- name: 'Report Coverage' | |
if: always() | |
uses: davelosert/vitest-coverage-report-action@v2 | |
- name: Build | |
run: npm run build | |
- name: Upload Build | |
uses: actions/upload-artifact@v4 | |
with: | |
name: DCS Dropzone Installer | |
path: dist/dcs-dropzone-*.exe |