Skip to content

chore: bump puppeteersharp to v18 (#97) #266

chore: bump puppeteersharp to v18 (#97)

chore: bump puppeteersharp to v18 (#97) #266

Workflow file for this run

# This workflow builds and tests the project
name: test
on: [push, pull_request, workflow_dispatch]
env:
# Specifies dotnet SDK Version
DOTNET_VERSION: '8.0.x'
jobs:
ci:
name: test-job
runs-on: ubuntu-latest
steps:
# Checks out the source code at the latest commit
- uses: actions/checkout@v3
# Installs the .NET SDK on the build machine
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: ${{ env.DOTNET_VERSION }}
# Installs any NuGet packages required.
- name: Install dependencies
run: dotnet restore
# Builds the project
- name: Build
run: dotnet build --configuration Release --no-restore
# Runs any tests in the project
- name: Test
run: |
mkdir -p Markdown2Pdf.Tests/bin/Release/net8.0/
cp Markdown2Pdf/package.json Markdown2Pdf.Tests/bin/Release/net8.0
(cd Markdown2Pdf.Tests/bin/Release/net8.0; npm install)
dotnet test --configuration Release --no-restore --verbosity normal