Publish `monaco-editor-core` even if the `monaco-editor` checks do not succeed

pull/2791/head
Alex Dima 3 years ago
parent b01c42dd04
commit 3de27fe12d
No known key found for this signature in database
GPG Key ID: 39563C1504FDD0C9

@ -95,6 +95,18 @@ jobs:
working-directory: ./vscode/test/monaco
run: yarn test
- name: Set `npm` config
run: npm config set //registry.npmjs.org/:_authToken ${NPM_TOKEN}
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
- name: Publish `monaco-editor-core`
working-directory: './vscode/out-monaco-editor-core'
run: npm publish --tag next
- name: Delete `npm` config
run: npm config delete //registry.npmjs.org/:_authToken
- name: (monaco-editor) Patch package.json version
run: node ./monaco-editor/.github/workflows/nightly/setNightlyVersion.js ./monaco-editor/package.json
@ -145,15 +157,11 @@ jobs:
working-directory: './monaco-editor'
run: npm run build-website
- name: Configure `npm`
- name: Set `npm` config
run: npm config set //registry.npmjs.org/:_authToken ${NPM_TOKEN}
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
- name: Publish `monaco-editor-core`
working-directory: './vscode/out-monaco-editor-core'
run: npm publish --tag next
- name: Publish `monaco-editor`
working-directory: './monaco-editor/release'
run: npm publish --tag next

Loading…
Cancel
Save