File tree Expand file tree Collapse file tree 3 files changed +319
-1
lines changed
Expand file tree Collapse file tree 3 files changed +319
-1
lines changed Original file line number Diff line number Diff line change 5959 env :
6060 CI : true
6161
62+ pkg-pr-new :
63+ name : pkg-pr-new
64+ if : github.repository == 'chimurai/http-proxy-middleware'
65+ runs-on : ubuntu-latest
66+ needs : [build]
67+
68+ steps :
69+ - uses : actions/checkout@v4
70+ - name : Use Node.js 22.x
71+ uses : actions/setup-node@v4
72+ with :
73+ node-version : 22.x
74+
75+ - uses : actions/cache@v4
76+ id : yarn-cache # use this to check for `cache-hit` (`steps.yarn-cache.outputs.cache-hit != 'true'`)
77+ with :
78+ path : ' **/node_modules'
79+ key : ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
80+ restore-keys : |
81+ ${{ runner.os }}-yarn-
82+
83+ - name : yarn install
84+ if : steps.yarn-cache.outputs.cache-hit != 'true' # Over here!
85+ run : yarn install --frozen-lockfile --ignore-scripts
86+
87+ - name : pkg-pr-new - publish for testing purposes
88+ run : npx pkg-pr-new publish --compact --no-template
89+
90+ env :
91+ CI : true
92+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
93+
6294 lint :
6395 name : Lint
6496 runs-on : ubuntu-latest
Original file line number Diff line number Diff line change 8282 "mockttp" : " 3.17.0" ,
8383 "open" : " 8.4.2" ,
8484 "patch-package" : " 8.0.0" ,
85+ "pkg-pr-new" : " 0.0.41" ,
8586 "prettier" : " 3.5.3" ,
8687 "supertest" : " 7.1.0" ,
8788 "ts-jest" : " 29.2.6" ,
You can’t perform that action at this time.
0 commit comments