File tree Expand file tree Collapse file tree 2 files changed +5
-10
lines changed
Expand file tree Collapse file tree 2 files changed +5
-10
lines changed Original file line number Diff line number Diff line change 4848 - name : Lint with ESLint
4949 run : yarn lint
5050
51- # Publish the packages. Ignore lifecycle scripts and add verbose logging
52- # Scripts are ignored because we build and lint before this step
53- - name : Publish packages
51+ # Publish the built packages
52+ - name : Publish packages to NPM
5453 run : |
55- echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" >> .npmrc
56- git config user.email 'eclipse-emfcloud-bot@eclipse.org'
57- git config user.name 'eclipse-emfcloud-bot'
58- yarn lerna publish -y --ignore-scripts --loglevel=verbose
54+ yarn publish:ci
5955 env :
6056 NPM_CONFIG_PROVENANCE : ' true'
61- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
62- NPM_TOKEN : ${{ secrets.NPMJS_TOKEN }}
Original file line number Diff line number Diff line change 1212 "build" : " lerna run build" ,
1313 "lint" : " lerna run lint -- --max-warnings 0" ,
1414 "lint:fix" : " yarn lint -fix" ,
15- "start" : " yarn --cwd example/browser-app start"
15+ "start" : " yarn --cwd example/browser-app start" ,
16+ "publish:ci" : " lerna publish -y --ignore-scripts --loglevel=verbose"
1617 },
1718 "devDependencies" : {
1819 "@typescript-eslint/eslint-plugin" : " ^5.4.0" ,
You can’t perform that action at this time.
0 commit comments