Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 3 additions & 9 deletions .github/workflows/publish-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,15 +48,9 @@ jobs:
- name: Lint with ESLint
run: yarn lint

# Publish the packages. Ignore lifecycle scripts and add verbose logging
# Scripts are ignored because we build and lint before this step
- name: Publish packages
# Publish the built packages
- name: Publish packages to NPM
run: |
echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" >> .npmrc
git config user.email 'eclipse-emfcloud-bot@eclipse.org'
git config user.name 'eclipse-emfcloud-bot'
yarn lerna publish -y --ignore-scripts --loglevel=verbose
yarn publish:ci
env:
NPM_CONFIG_PROVENANCE: 'true'
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPMJS_TOKEN }}
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@
"build": "lerna run build",
"lint": "lerna run lint -- --max-warnings 0",
"lint:fix": "yarn lint -fix",
"start": "yarn --cwd example/browser-app start"
"start": "yarn --cwd example/browser-app start",
"publish:ci": "lerna publish -y --ignore-scripts --loglevel=verbose"
},
"devDependencies": {
"@typescript-eslint/eslint-plugin": "^5.4.0",
Expand All @@ -25,7 +26,7 @@
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-react": "^7.22.0",
"eslint-plugin-simple-import-sort": "^7.0.0",
"lerna": "^8.1.8",
"lerna": "^9.0.0",
"prettier": "^2.4.1",
"rimraf": "^6.0.1",
"typescript": "^5.6.2"
Expand Down
Loading