File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -16,9 +16,6 @@ RUN apk add doas git github-cli; \
1616# install and use PNPM instead of NPM
1717RUN npm install -g pnpm
1818
19- RUN git config --global url."git@github.com:".insteadOf "https://github.com/"
20- RUN git config --global url."git@ssh.dev.azure.com:".insteadOf "https://ssh.dev.azure.com/"
21-
2219## fix M1 pupetteer issues
2320ENV PUPPETEER_SKIP_CHROMIUM_DOWNLOAD true
2421ENV PUPPETEER_EXECUTABLE_PATH /usr/bin/chromium
Original file line number Diff line number Diff line change @@ -11,35 +11,17 @@ jobs:
1111
1212 steps :
1313 - uses : actions/checkout@v4
14+ - name : Install pnpm
15+ uses : pnpm/action-setup@v4
16+ with :
17+ version : 9
1418 - name : Setup Node.js
15- uses : actions/setup-node@v1
19+ uses : actions/setup-node@v4
1620 with :
1721 node-version : 20.x
18- - name : Cache node modules
19- id : cache-pnpm
20- uses : actions/cache@v3
21- env :
22- cache-name : cache-node-modules
23- with :
24- # npm cache files are stored in `~/.npm` on Linux/macOS
25- path : ~/.pnpm-store
26- key : ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/pnpm-lock.yaml') }}
27- restore-keys : |
28- ${{ runner.os }}-build-${{ env.cache-name }}-
29- ${{ runner.os }}-build-
30- ${{ runner.os }}-
31-
32- - if : ${{ steps.cache-npm.outputs.cache-hit != 'true' }}
33- name : List the state of node modules
34- continue-on-error : true
35- run : pnpm list
36-
22+ cache : pnpm
3723 - name : Install dependencies
38- run : |
39- # npm config set "@fortawesome:registry" https://npm.fontawesome.com/
40- # npm config set "//npm.fontawesome.com/:_authToken" $FONTAWESOME_NPM_AUTH_TOKEN
41- npm i -g pnpm && pnpm i
42-
24+ run : pnpm install
4325 env :
4426 FONTAWESOME_NPM_AUTH_TOKEN : ${{ secrets.FONTAWESOME_NPM_AUTH_TOKEN }}
4527 # - name: Install semantic-release extra plugins
You can’t perform that action at this time.
0 commit comments