File tree 3 files changed +7
-28
lines changed
3 files changed +7
-28
lines changed Original file line number Diff line number Diff line change @@ -252,7 +252,7 @@ jobs:
252
252
needs :
253
253
- test
254
254
- ember-try
255
- - build
255
+ - build
256
256
runs-on : ubuntu-latest
257
257
steps :
258
258
- name : Set up node
@@ -272,8 +272,8 @@ jobs:
272
272
echo "REFRESH_TOKEN=${{ secrets.GOOGLE_NIGHTLY_REFRESH_TOKEN }}" >> $GITHUB_ENV
273
273
else
274
274
echo "EXTENSION_ID=bmdblncegkenkacieihfhpjfppoconhi" >> $GITHUB_ENV
275
- echo "CLIENT_ID=${{ secrets.GOOGLE_STABLE_CLIENT_ID }}" >> $GITHUB_ENV
276
- echo "REFRESH_TOKEN=${{ secrets.GOOGLE_STABLE_REFRESH_TOKEN }}" >> $GITHUB_ENV
275
+ echo "CLIENT_ID=${{ secrets.GOOGLE_NIGHTLY_CLIENT_ID }}" >> $GITHUB_ENV
276
+ echo "REFRESH_TOKEN=${{ secrets.GOOGLE_NIGHTLY_REFRESH_TOKEN }}" >> $GITHUB_ENV
277
277
fi
278
278
- name : Upload to Chrome Web Store
279
279
if : >-
@@ -286,7 +286,7 @@ jobs:
286
286
needs :
287
287
- test
288
288
- ember-try
289
- - build
289
+ - build
290
290
runs-on : ubuntu-latest
291
291
steps :
292
292
- name : Set up nod
@@ -314,7 +314,7 @@ jobs:
314
314
needs :
315
315
- test
316
316
- ember-try
317
- - build
317
+ - build
318
318
runs-on : ubuntu-latest
319
319
steps :
320
320
- name : Set up node
@@ -336,25 +336,4 @@ jobs:
336
336
npm whoami
337
337
if [[ "$GITHUB_EVENT_NAME" == "schedule" ]]; then
338
338
npm publish --tag alpha
339
- else
340
- npm publish
341
339
fi
342
-
343
- publish-github :
344
- name : Publish GitHub release
345
- needs :
346
- - test
347
- - ember-try
348
- - build
349
- if : github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v')
350
- runs-on : ubuntu-latest
351
- steps :
352
- - name : Create release
353
- uses : actions/create-release@v1
354
- env :
355
- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
356
- with :
357
- tag_name : ${{ github.ref }}
358
- release_name : ${{ github.ref }}
359
- draft : false
360
- prerelease : false
Original file line number Diff line number Diff line change 53
53
- run : pnpm install --frozen-lockfile
54
54
- name : npm publish
55
55
run : pnpm release-plan publish --singlePackage=ember-inspector
56
-
57
56
env :
58
57
GITHUB_AUTH : ${{ secrets.GITHUB_TOKEN }}
59
- NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
58
+ NODE_AUTH_TOKEN : ${{ secrets.NPM_AUTH_TOKEN }}
Original file line number Diff line number Diff line change 10
10
"test" : " tests"
11
11
},
12
12
"scripts" : {
13
+ "prepublishOnly" : " node -e 'process.exit(!require(\" fs\" ).existsSync(\" ./dist\" ))' || pnpm build:production" ,
13
14
"build" : " ember build" ,
14
15
"build:production" : " EMBER_ENV=production node scripts/download-panes.js && ember build --environment production && gulp compress:chrome && gulp compress:firefox && gulp clean-tmp" ,
15
16
"changelog" : " github_changelog_generator -u emberjs -p ember-inspector --since-tag v3.8.0" ,
You can’t perform that action at this time.
0 commit comments