File tree Expand file tree Collapse file tree 1 file changed +17
-0
lines changed Expand file tree Collapse file tree 1 file changed +17
-0
lines changed Original file line number Diff line number Diff line change @@ -63,13 +63,30 @@ jobs:
6363 version : 8
6464 run_install : false
6565
66+ - name : Get pnpm store directory
67+ id : pnpm-cache
68+ run : |
69+ echo "::set-output name=pnpm_cache_dir::$(pnpm store path)"
70+
71+ - name : Setup pnpm cache
72+ uses : actions/cache@v3
73+ with :
74+ path : ${{ steps.pnpm-cache.outputs.pnpm_cache_dir }}
75+ key : ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
76+ restore-keys : |
77+ ${{ runner.os }}-pnpm-store-
78+
79+ - name : Install dependencies
80+ run : pnpm install --frozen-lockfile --prefer-offline
81+
6682 - name : Create Versioning Pull Request
6783 id : changesets
6884 uses :
changesets/[email protected] 6985 env :
7086 GITHUB_TOKEN : ${{ github.token }}
7187 with :
7288 createGithubReleases : true
89+ version : pnpm changeset version
7390 publish : pnpm release
7491
7592 - name : Transform Packages
You can’t perform that action at this time.
0 commit comments