File tree 5 files changed +326
-85
lines changed
5 files changed +326
-85
lines changed Original file line number Diff line number Diff line change @@ -175,57 +175,3 @@ jobs:
175
175
176
176
- name : Run e2e tests
177
177
run : pnpm test:e2e
178
-
179
- nightly-release :
180
- if : |
181
- github.event_name == 'push' &&
182
- !contains(github.event.head_commit.message, '[skip-release]') &&
183
- !startsWith(github.event.head_commit.message, 'chore') &&
184
- !startsWith(github.event.head_commit.message, 'docs')
185
-
186
- needs :
187
- - lint
188
- - build
189
- - test-unit
190
- - test-type
191
- - test-e2e
192
-
193
- strategy :
194
- matrix :
195
- os : [ubuntu-latest]
196
- node : [18]
197
-
198
- runs-on : ${{ matrix.os }}
199
-
200
- steps :
201
- - name : Checkout codes
202
- uses : actions/checkout@v4
203
-
204
- - name : Enable corepack
205
- run : corepack enable
206
-
207
- - name : Setup node
208
- uses : actions/setup-node@v4
209
- with :
210
- node-version : ${{ matrix.node }}
211
- cache : ' pnpm'
212
-
213
- - name : Install dependencies
214
- run : pnpm install --no-frozen-lockfile
215
-
216
- - name : Restore dist cache
217
- uses : actions/cache@v4
218
- with :
219
- path : packages/*/dist
220
- key : build-vue-i18n-os-${{ matrix.os }}-${{ github.sha }}
221
-
222
- - name : Upload message-compiler dist files (debug)
223
- uses : actions/upload-artifact@v4
224
- with :
225
- name : message-compiler
226
- path : packages/message-compiler/dist
227
-
228
- - name : Release nightly version
229
- run : ./scripts/release-nightly.sh
230
- env :
231
- NPM_AUTH_TOKEN : ${{secrets.NPM_AUTH_TOKEN}}
Original file line number Diff line number Diff line change
1
+ name : nightly release
2
+ on :
3
+ push :
4
+ branches :
5
+ - ' **'
6
+ tags :
7
+ - ' !**'
8
+ pull_request :
9
+ branches :
10
+ - master
11
+
12
+ jobs :
13
+ release :
14
+ runs-on : ubuntu-latest
15
+
16
+ steps :
17
+ - name : Checkout code
18
+ uses : actions/checkout@v4
19
+
20
+ - name : Enable corepack
21
+ run : corepack enable
22
+
23
+ - name : Setup node
24
+ uses : actions/setup-node@v4
25
+ with :
26
+ node-version : 18.18
27
+ cache : pnpm
28
+
29
+ - name : Install dependencies
30
+ run : pnpm install --frozen-lockfile
31
+
32
+ - name : Build
33
+ run : pnpm build:type
34
+
35
+ - name : Release with pkg-pr-new
36
+ run : pnpx pkg-pr-new publish --compact --pnpm './packages/shared' './packages/message-compiler' './packages/devtools-types' './packages/core-base' './packages/core' './packages/vue-i18n-core' './packages/petite-vue-i18n' './packages/vue-i18n'
Original file line number Diff line number Diff line change 112
112
"opener" : " ^1.5.2" ,
113
113
"pathe" : " ^1.1.2" ,
114
114
"picocolors" : " ^1.0.0" ,
115
+ "pkg-pr-new" : " ^0.0.20" ,
115
116
"playwright-core" : " ^1.45.3" ,
116
117
"prettier" : " ^3.2.5" ,
117
118
"rc" : " ^1.2.8" ,
You can’t perform that action at this time.
0 commit comments