File tree 3 files changed +2
-23
lines changed
3 files changed +2
-23
lines changed Original file line number Diff line number Diff line change @@ -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