File tree Expand file tree Collapse file tree 1 file changed +9
-25
lines changed
Expand file tree Collapse file tree 1 file changed +9
-25
lines changed Original file line number Diff line number Diff line change @@ -61,37 +61,21 @@ jobs:
6161 with :
6262 ref : " refs/pull/${{ github.event.pull_request.number }}/merge"
6363
64- - name : Use Node.js
65- uses : actions/setup-node@v4
66- with :
67- node-version : 22
68-
6964 - name : Use pnpm
7065 uses : pnpm/action-setup@v3
71- with :
72- version : 9
73- run_install : false
74-
75- - name : Get pnpm store directory
76- shell : bash
77- run : |
78- echo "STORE_PATH=$(pnpm store path --silent)" >> $GITHUB_ENV
7966
80- - name : Setup pnpm cache
81- uses : actions/cache @v4
67+ - name : Use Node.js
68+ uses : actions/setup-node @v4
8269 with :
83- path : ${{ env.STORE_PATH }}
84- key : " ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}"
85- restore-keys : |
86- ${{ runner.os }}-pnpm-store-
87-
88- - name : Set @dialpad registry to GitHub packages
89- run : pnpm config set @dialpad:registry https://npm.pkg.github.com
90-
91- - name : Set GitHub auth token
92- run : pnpm config set //npm.pkg.github.com/:_authToken=${{ secrets.GITHUB_TOKEN }}
70+ node-version-file : " .nvmrc"
71+ cache : " pnpm"
72+ registry-url : " https://npm.pkg.github.com"
73+ scope : " dialpad"
74+ env :
75+ NODE_AUTH_TOKEN : ${{ github.token }}
9376
9477 - name : Install dependencies
78+ shell : bash
9579 run : pnpm install --frozen-lockfile
9680
9781 # ---------- #
You can’t perform that action at this time.
0 commit comments