Repository navigation
netlogger: use upper camel case for log file #119
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
| # This Source Code Form is subject to the terms of the Mozilla Public | |
| # License, v. 2.0. If a copy of the MPL was not distributed with this | |
| # file, You can obtain one at https://mozilla.org/MPL/2.0/. | |
| # | |
| # Copyright (c) 2026 ClearCode Inc. | |
| name: Build and test | |
| on: | |
| push: | |
| branches: [master] | |
| pull_request: | |
| workflow_dispatch: | |
| jobs: | |
| build: | |
| runs-on: windows-latest | |
| steps: | |
| - uses: actions/checkout@v7 | |
| - uses: actions/setup-node@v7 | |
| with: | |
| node-version: 22 | |
| - uses: actions/setup-dotnet@v6 | |
| with: | |
| dotnet-version: 8.0.x | |
| - name: Test the native messaging host | |
| run: dotnet test BrowserGuard.Tests/BrowserGuard.Tests.csproj | |
| # Run the stages separately rather than through "all", so that a failure | |
| # points straight at the step it happened in. Lint pulls in the npm | |
| # dependencies, which is why it comes first. | |
| - name: Lint the extension | |
| run: .\make.bat lint | |
| shell: cmd | |
| working-directory: webextensions | |
| - name: Test the extension | |
| run: .\make.bat test | |
| shell: cmd | |
| working-directory: webextensions | |
| - name: Package | |
| run: .\make.bat package | |
| shell: cmd | |
| working-directory: webextensions | |
| # The signing key is not kept in the repository, so Edge signs with a | |
| # throwaway key it generates. The resulting extension ID differs on every | |
| # run, which makes this crx a build check rather than a deliverable. | |
| # Release crx files for enterprise distribution are built locally with the | |
| # designated key placed at pem\edge.pem. | |
| - name: Pack crx | |
| run: .\make.bat crx | |
| shell: cmd | |
| working-directory: webextensions | |
| - uses: actions/upload-artifact@v7 | |
| with: | |
| name: BrowserGuardEdge | |
| if-no-files-found: error | |
| path: | | |
| webextensions/BrowserGuardEdge.zip | |
| webextensions/BrowserGuardEdgeDev.zip | |
| webextensions/BrowserGuardEdge.crx |