Skip to content

feat(registry): 完善 Web 并迁移至 CPython 与 Neon #98

feat(registry): 完善 Web 并迁移至 CPython 与 Neon

feat(registry): 完善 Web 并迁移至 CPython 与 Neon #98

Workflow file for this run

name: Registry checks
on:
pull_request:
workflow_dispatch:
permissions:
contents: read
concurrency:
group: registry-checks-${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
dependency-review:
name: Dependency review
if: github.event_name == 'pull_request'
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- name: Reject new high-severity vulnerabilities
uses: actions/dependency-review-action@a1d282b36b6f3519aa1f3fc636f609c47dddb294 # v5.0.0
with:
fail-on-severity: high
fail-on-scopes: development, runtime
repository:
name: ext-reg checks
runs-on: ubuntu-latest
timeout-minutes: 20
steps:
- name: Checkout
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- name: Set up Python
uses: actions/setup-python@ece7cb06caefa5fff74198d8649806c4678c61a1 # v6.3.0
with:
python-version-file: .python-version
- name: Install PDM
run: python -m pip install pdm==2.28.0
- name: Install pnpm
uses: pnpm/action-setup@0ebf47130e4866e96fce0953f49152a61190b271 # v6.0.9
with:
version: 11.11.0
- name: Set up Node
uses: actions/setup-node@249970729cb0ef3589644e2896645e5dc5ba9c38 # v6
with:
node-version-file: package.json
cache: pnpm
- name: Install frozen dependencies
run: |
pdm install --frozen-lockfile
pnpm install --frozen-lockfile
- name: Run repository contract
run: pnpm check