Skip to content

feat(settings): integrate frontend Settings with /api/settings (#802) #2683

feat(settings): integrate frontend Settings with /api/settings (#802)

feat(settings): integrate frontend Settings with /api/settings (#802) #2683

Workflow file for this run

name: Lighthouse
on: [push]
jobs:
lhci:
name: Lighthouse
runs-on: windows-latest
env:
config: 'Release'
steps:
- uses: actions/checkout@0c366fd6a839edf440554fa01a7085ccba70ac98
with:
ref: ${{ github.event.pull_request.head.sha }}
- name: setup dotnet
uses: actions/setup-dotnet@131b410979e0b49e2162c0718030257b22d6dc2c
with:
dotnet-version: '9.0.x'
- name: setup dotnet ef
run: dotnet tool install --tool-path .\.dotnet-tools dotnet-ef --version 9.0.11
- name: setup node
uses: actions/setup-node@v6
with:
node-version: '16.x'
- name: install node deps
run: npm install
- name: node build
run: npm run build
- name: create settings file
run: |
cd web
echo '{"ConnectionStrings":' > appsettings.cust.json
echo '{"AtlasDatabase":' >> appsettings.cust.json
echo '"Server=(localdb)\\mssqllocaldb;Database=atlas_test;Trusted_Connection=True"' >> appsettings.cust.json
echo "}}" >> appsettings.cust.json
cat appsettings.cust.json
- name: install localdb
uses: potatoqualitee/mssqlsuite@2291d923e83859edd871679c05b379037376761f
with:
install: localdb
- name: migrate
run: .\.dotnet-tools\dotnet-ef database update --project web/web.csproj
- name: run Lighthouse CI
run: |
npm install -g @lhci/cli@0.9.x
lhci autorun
env:
LHCI_GITHUB_APP_TOKEN: ${{ secrets.LHCI_GITHUB_APP_TOKEN }}
LHCI_TOKEN: ${{ secrets.LHCI_TOKEN }}