File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Publish Commit
2+ on :
3+ push :
4+ branches :
5+ - ' **'
6+ tags :
7+ - ' !**'
8+ pull_request :
9+
10+ env :
11+ # NODE_VER: 24.14
12+ NODE_VER : 18.20
13+ WORKING_DIR : packages/next-auth
14+
15+ defaults :
16+ run :
17+ working-directory : ${{ env.WORKING_DIR }}
18+
19+ jobs :
20+ build :
21+ runs-on : ubuntu-latest
22+ steps :
23+ - name : Checkout code
24+ uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd
25+
26+ - uses : pnpm/action-setup@fc06bc1257f339d1d5d8b3a19a8cae5388b55320
27+ name : Install pnpm
28+ with :
29+ run_install : false
30+ # cache-dependency-path: ${{ env.WORKING_DIR }}/pnpm-lock.yaml
31+
32+ - name : Use Node.js ${{ env.NODE_VER }}
33+ uses : actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f
34+ with :
35+ node-version : ${{ env.NODE_VER }}
36+ cache : pnpm
37+ # cache-dependency-path: ${{ env.WORKING_DIR }}/pnpm-lock.yaml
38+
39+ - name : Install deps
40+ run : pnpm i
41+
42+ # - name: Build and pack
43+ # run: pnpm prepack
44+
45+ # - name: Publish package preview
46+ # run: pnpx pkg-pr-new publish --compact
You can’t perform that action at this time.
0 commit comments