File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 77 - main
88
99jobs :
10+ dogfood :
11+ name : Pre-release Check
12+ runs-on : ubuntu-latest
13+ steps :
14+ - uses : actions/checkout@v4
15+ with :
16+ fetch-depth : 0
17+ - uses : pnpm/action-setup@v2
18+ with :
19+ version : 9
20+ - uses : actions/setup-node@v4
21+ with :
22+ node-version : ' 20'
23+ cache : ' pnpm'
24+
25+ - name : Install Dependencies
26+ run : pnpm install --frozen-lockfile
27+
28+ - name : Build Action
29+ run : pnpm --filter @docgap/action... build
30+
31+ - name : Run Drift Check (Dogfood)
32+ run : node apps/action/dist/index.js
33+ env :
34+ GITHUB_WORKSPACE : ${{ github.workspace }}
35+ INPUT_CONFIG : .docgap.yaml
36+ INPUT_STRICT : true
37+
1038 npm-publish :
1139 name : Publish to NPM
40+ needs : dogfood
1241 runs-on : ubuntu-latest
1342 permissions :
1443 contents : read
5281
5382 action-release :
5483 name : Release GitHub Action
84+ needs : dogfood
5585 runs-on : ubuntu-latest
5686 permissions :
5787 contents : write
You can’t perform that action at this time.
0 commit comments