File tree Expand file tree Collapse file tree 1 file changed +49
-0
lines changed Expand file tree Collapse file tree 1 file changed +49
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Publish Nightlies
2+ on :
3+ pull_request :
4+ push :
5+ branches :
6+ - ' **'
7+ tags :
8+ - ' !**'
9+
10+ jobs :
11+ build :
12+ runs-on : ubuntu-latest
13+
14+ steps :
15+ - name : Checkout code
16+ uses : actions/checkout@v2
17+
18+ - name : Install node
19+ uses : actions/setup-node@v4
20+ with :
21+ node-version : 22
22+
23+ - name : Install pnpm
24+ uses : pnpm/action-setup@v4.0.0
25+ with :
26+ version : 9.7.0
27+
28+ - name : Get pnpm store directory
29+ id : pnpm-cache
30+ run : |
31+ echo "pnpm_cache_dir=$(pnpm store path)" >> "$GITHUB_OUTPUT"
32+
33+ - name : Cache pnpm modules
34+ uses : actions/cache@v4
35+ with :
36+ path : |
37+ ${{ steps.pnpm-cache.outputs.pnpm_cache_dir }}
38+ ~/.cache/Cypress
39+ key : pnpm-v1-${{ runner.os }}-${{ hashFiles('**/pnpm-lock.yaml') }}
40+ restore-keys : |
41+ pnpm-v1-${{ runner.os }}-
42+
43+ - name : Install dependencies
44+ run : pnpm install
45+
46+ - name : Build
47+ run : pnpm build
48+
49+ - run : pnpx pkg-pr-new publish './packages/*'
You can’t perform that action at this time.
0 commit comments