File tree 3 files changed +319
-1
lines changed
3 files changed +319
-1
lines changed Original file line number Diff line number Diff line change 59
59
env :
60
60
CI : true
61
61
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
+
62
94
lint :
63
95
name : Lint
64
96
runs-on : ubuntu-latest
Original file line number Diff line number Diff line change 82
82
"mockttp" : " 3.17.0" ,
83
83
"open" : " 8.4.2" ,
84
84
"patch-package" : " 8.0.0" ,
85
+ "pkg-pr-new" : " 0.0.41" ,
85
86
"prettier" : " 3.5.3" ,
86
87
"supertest" : " 7.1.0" ,
87
88
"ts-jest" : " 29.2.6" ,
You can’t perform that action at this time.
0 commit comments