Skip to content

Fix: policy creation #99

Fix: policy creation

Fix: policy creation #99

Workflow file for this run

name: PR Workflow
on:
pull_request:
types: [opened, reopened, synchronize, ready_for_review]
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
if: github.event.pull_request.draft == false
steps:
- name: Checkout code
uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: "20"
- run: corepack enable
- run: pnpm install
- name: Build Vite-Plugin-CSP-Guard
run: pnpm p:build
- name: Run Unit Tests
run: pnpm p:test
- name: Install Playwright Browsers
run: npx playwright install --with-deps chromium
- name: Run tests
run: pnpm test
- uses: actions/upload-artifact@v4
if: always()
with:
name: playwright-report
path: playwright-report/
retention-days: 5