-
Notifications
You must be signed in to change notification settings - Fork 0
27 lines (27 loc) · 902 Bytes
/
Copy pathci.yml
File metadata and controls
27 lines (27 loc) · 902 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
name: CI
on:
push:
branches: [main, master]
pull_request:
branches: [main, master]
jobs:
build-wpf:
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-dotnet@v4
with:
dotnet-version: '9.0.x'
- run: dotnet restore wpf-browser/PrivacyMonitor.csproj
- run: dotnet build wpf-browser/PrivacyMonitor.csproj -c Release --no-restore
extension-rules:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '20'
cache: 'npm'
- run: node generate-rules.js
working-directory: wpf-browser/chrome-extension
- run: test -f wpf-browser/chrome-extension/rules.json -a -f wpf-browser/chrome-extension/rules-stealth.json -a -f wpf-browser/chrome-extension/rules-video-ads.json