mirror of
https://seed.radicle.dev/rad:z4V1sjrXqjvFdnCUbxPFqd5p4DtH5.git
synced 2026-11-04 03:00:32 +08:00
23 lines
435 B
YAML
23 lines
435 B
YAML
name: check-format
|
|
on:
|
|
push:
|
|
branches:
|
|
- master
|
|
pull_request:
|
|
branches:
|
|
- master
|
|
|
|
jobs:
|
|
check-format:
|
|
if: github.event.pull_request.merged == false
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Setup Node
|
|
uses: actions/setup-node@v3
|
|
with:
|
|
node-version: "18.12.1"
|
|
- uses: actions/checkout@v3
|
|
- run: npm ci
|
|
- run: ./scripts/check-format
|
|
shell: bash
|