File tree Expand file tree Collapse file tree 1 file changed +53
-0
lines changed
Expand file tree Collapse file tree 1 file changed +53
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Test publishing to GitHub Packages
2+
3+ on :
4+ push :
5+ branches : [revert/migrate-angular-to-nx]
6+ env :
7+ NX_SKIP_NX_CACHE : true
8+
9+ jobs :
10+ build :
11+ name : Build packages
12+ runs-on : windows-latest
13+ outputs :
14+ packages : ${{ steps.filter.outputs.packages }}
15+ steps :
16+ - name : Get sources
17+ uses : actions/checkout@v4
18+
19+ - name : Set up nodejs
20+ uses : actions/setup-node@v4
21+ with :
22+ node-version : ' 20'
23+
24+ - uses : pnpm/action-setup@v4
25+ with :
26+ run_install : false
27+
28+ - name : Get pnpm store directory
29+ shell : bash
30+ run : |
31+ echo "PNPM_STORE_PATH=$(pnpm store path --silent)" >> $GITHUB_ENV
32+
33+ - uses : actions/cache@v4
34+ name : Setup pnpm cache
35+ with :
36+ path : |
37+ ${{ env.PNPM_STORE_PATH }}
38+ .nx/cache
39+ key : ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
40+ restore-keys : |
41+ ${{ runner.os }}-pnpm-store
42+
43+ - name : Install dependencies
44+ run : pnpm install --frozen-lockfile
45+
46+ - name : Set timestamp version
47+ if : ${{ env.SET_TIMESTAMP_VERSION == 'true' }}
48+ run : pnpx ts-node tools/scripts/set-timestamp-version
49+
50+ - name : Build npm packages
51+ env :
52+ BUILD_INTERNAL_PACKAGE : true
53+ run : pnpm run all:build
You can’t perform that action at this time.
0 commit comments