Skip to content

test(react): remove support for testing React 17 #7945

test(react): remove support for testing React 17

test(react): remove support for testing React 17 #7945

name: Deploy (fork)
on:
pull_request_target:
permissions:
contents: read
pages: write
id-token: write
jobs:
deploy-preview:
# target repository for pull_request is different from source repository
if: ${{ github.repository != github.event.pull_request.head.repo.full_name }}
name: Preview
uses: primer/.github/.github/workflows/deploy_preview.yml@0cec9b9914f358846163f2428663b58da41028c9
permissions:
contents: read
pages: write
id-token: write
with:
node_version: 18
install: npm ci --legacy-peer-deps && cd docs && npm ci --legacy-peer-deps && cd ..
build: npm run build:docs:preview
output_dir: docs/public