Skip to content

Commit e148f11

Browse files
authored
Merge pull request #1 from managedcode/codex/create-open-source-nuget-package-with-playwright
Migrate to .NET 10: add shared build config, CI, embedded stealth scripts, and tests
2 parents edde0e8 + 37db930 commit e148f11

32 files changed

+2467
-0
lines changed

.github/workflows/ci.yml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: build-and-test
2+
3+
on:
4+
pull_request:
5+
branches: [ main ]
6+
push:
7+
branches: [ main ]
8+
9+
env:
10+
DOTNET_VERSION: '10.0.x'
11+
12+
jobs:
13+
build-and-test:
14+
name: build-and-test
15+
runs-on: ubuntu-latest
16+
17+
steps:
18+
- name: Checkout
19+
uses: actions/checkout@v5
20+
21+
- name: Setup .NET
22+
uses: actions/setup-dotnet@v4
23+
with:
24+
dotnet-version: ${{ env.DOTNET_VERSION }}
25+
26+
- name: Restore dependencies
27+
run: dotnet restore ManagedCode.Playwright.Stealth.sln
28+
29+
- name: Build
30+
run: dotnet build ManagedCode.Playwright.Stealth.sln --configuration Release --no-restore
31+
32+
- name: Test
33+
run: dotnet test --solution ManagedCode.Playwright.Stealth.sln --configuration Release --no-build --verbosity normal

0 commit comments

Comments
 (0)