File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1313 STAINLESS_PROJECT : tiger-data-docs
1414
1515jobs :
16- build-and- preview :
17- name : Build & Post Preview Link
16+ post- preview-link :
17+ name : Post Preview Link
1818 runs-on : ubuntu-latest
1919 permissions :
20- contents : read
2120 pull-requests : write
2221 steps :
23- - name : Checkout repository
24- uses : actions/checkout@v4
25-
26- - name : Setup Node.js
27- uses : actions/setup-node@v4
28- with :
29- node-version : ' 20'
30-
31- - name : Setup pnpm
32- uses : pnpm/action-setup@v4
33- with :
34- version : 9
35-
36- - name : Get pnpm store directory
37- shell : bash
38- run : echo "STORE_PATH=$(pnpm store path --silent)" >> $GITHUB_ENV
39-
40- - name : Cache pnpm store
41- uses : actions/cache@v4
42- with :
43- path : ${{ env.STORE_PATH }}
44- key : ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
45- restore-keys : |
46- ${{ runner.os }}-pnpm-store-
47-
48- - name : Install dependencies
49- run : pnpm install --frozen-lockfile
50-
51- - name : Build docs
52- run : pnpm build
53- env :
54- STAINLESS_API_KEY : ${{ secrets.STAINLESS_API_KEY }}
55-
5622 - name : Generate preview URL
5723 id : preview-url
5824 run : |
You can’t perform that action at this time.
0 commit comments