File tree 2 files changed +30
-1
lines changed
2 files changed +30
-1
lines changed Original file line number Diff line number Diff line change
1
+ name : Pull Request Prerelease
2
+
3
+ on :
4
+ pull_request :
5
+ push :
6
+ branches :
7
+ - " **"
8
+ tags :
9
+ - " !**"
10
+
11
+ jobs :
12
+ vscode-package :
13
+ name : " @apollo/client-devtools-vscode"
14
+ runs-on : ubuntu-latest
15
+ steps :
16
+ - name : Checkout repo
17
+ uses : actions/checkout@v4
18
+
19
+ - name : Setup Node.js 20.x
20
+ uses : actions/setup-node@v4
21
+ with :
22
+ node-version : 20.x
23
+
24
+ - run : npm ci
25
+
26
+ - name : Publish to pkg.pr.new
27
+ run : npm run pkg-pr-new-publish
Original file line number Diff line number Diff line change 17
17
"start:dev" : " run-p start:client start:server" ,
18
18
"dist:chrome" : " npm run build -- --env TARGET=chrome && tsx build.ts chrome" ,
19
19
"dist:firefox" : " npm run build -- --env TARGET=firefox && tsx build.ts firefox" ,
20
+ "dist:vscode" : " npm run build -- --env TARGET=vscode" ,
20
21
"build" : " npm run clean && webpack --env NODE_ENV=production --progress" ,
21
22
"build:dev" : " npm run clean && webpack --env NODE_ENV=development --progress" ,
22
23
"clean" : " rimraf build && mkdir build && rimraf *.zip" ,
33
34
"type-check" : " tsc --noEmit" ,
34
35
"test:circleci" : " jest --maxWorkers=2" ,
35
36
"test:watch" : " jest --watch" ,
36
- "codegen" : " graphql-codegen --config codegen.ts"
37
+ "codegen" : " graphql-codegen --config codegen.ts" ,
38
+ "pkg-pr-new-publish" : " npm run dist:vscode && cd dist && pkg-pr-new publish --no-template --compact"
37
39
},
38
40
"dependencies" : {
39
41
"@apollo/brand" : " ^0.7.0" ,
You can’t perform that action at this time.
0 commit comments