File tree 3 files changed +28
-30
lines changed
3 files changed +28
-30
lines changed Original file line number Diff line number Diff line change 61
61
- name : Run type declaration tests
62
62
run : pnpm run test-dts
63
63
64
+ release :
65
+ concurrency :
66
+ group : release
67
+ if : github.repository == 'vuejs/core-vapor'
68
+ runs-on : ubuntu-latest
69
+ needs : [unit-test, lint-and-test-dts]
70
+ steps :
71
+ - uses : actions/checkout@v4
72
+
73
+ - name : Install pnpm
74
+ uses : pnpm/action-setup@v2
75
+
76
+ - name : Install Node.js
77
+ uses : actions/setup-node@v4
78
+ with :
79
+ node-version-file : ' .node-version'
80
+ registry-url : ' https://registry.npmjs.org'
81
+ cache : ' pnpm'
82
+
83
+ - run : pnpm install
84
+
85
+ - run : pnpm release --vapor --skip-tests
86
+ env :
87
+ NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
88
+
64
89
# benchmarks:
65
90
# runs-on: ubuntu-latest
66
91
# if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -39,8 +39,8 @@ let skipTests = args.skipTests
39
39
const skipBuild = args . skipBuild
40
40
const isCanary = args . canary
41
41
const isVapor = args . vapor
42
- const skipPrompts = args . skipPrompts || args . canary
43
- const skipGit = args . skipGit || args . canary
42
+ const skipPrompts = args . skipPrompts || args . canary || args . vapor
43
+ const skipGit = args . skipGit || args . canary || args . vapor
44
44
45
45
const packages = fs
46
46
. readdirSync ( path . resolve ( __dirname , '../packages' ) )
@@ -372,7 +372,7 @@ async function getCIResult() {
372
372
try {
373
373
const sha = await getSha ( )
374
374
const res = await fetch (
375
- `https://api.github.com/repos/vuejs/core/actions/runs?head_sha=${ sha } ` +
375
+ `https://api.github.com/repos/vuejs/core-vapor /actions/runs?head_sha=${ sha } ` +
376
376
`&status=success&exclude_pull_requests=true` ,
377
377
)
378
378
const data = await res . json ( )
You can’t perform that action at this time.
0 commit comments