mirror of
https://github.com/zed-industries/zed.git
synced 2024-12-29 13:44:03 +03:00
a161a7d0c9
This PR formats the YAML files in the repo with Prettier. Release Notes: - N/A
36 lines
669 B
YAML
36 lines
669 B
YAML
name: Danger
|
|
|
|
on:
|
|
pull_request:
|
|
branches: [main]
|
|
types:
|
|
- opened
|
|
- synchronize
|
|
- reopened
|
|
- edited
|
|
|
|
jobs:
|
|
danger:
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
|
|
- uses: pnpm/action-setup@v3
|
|
with:
|
|
version: 8
|
|
|
|
- name: Setup Node
|
|
uses: actions/setup-node@v4
|
|
with:
|
|
node-version: "20"
|
|
cache: "pnpm"
|
|
cache-dependency-path: "script/danger/pnpm-lock.yaml"
|
|
|
|
- run: pnpm install --dir script/danger
|
|
|
|
- name: Run Danger
|
|
run: pnpm run --dir script/danger danger ci
|
|
env:
|
|
GITHUB_TOKEN: ${{ github.token }}
|