mirror of
https://github.com/microsoft/monaco-editor.git
synced 2025-12-22 19:42:56 +01:00
Publish monaco-editor-core even if the monaco-editor checks do not succeed
This commit is contained in:
parent
b01c42dd04
commit
3de27fe12d
1 changed files with 13 additions and 5 deletions
18
.github/workflows/nightly.yml
vendored
18
.github/workflows/nightly.yml
vendored
|
|
@ -95,6 +95,18 @@ jobs:
|
||||||
working-directory: ./vscode/test/monaco
|
working-directory: ./vscode/test/monaco
|
||||||
run: yarn test
|
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
|
- name: (monaco-editor) Patch package.json version
|
||||||
run: node ./monaco-editor/.github/workflows/nightly/setNightlyVersion.js ./monaco-editor/package.json
|
run: node ./monaco-editor/.github/workflows/nightly/setNightlyVersion.js ./monaco-editor/package.json
|
||||||
|
|
||||||
|
|
@ -145,15 +157,11 @@ jobs:
|
||||||
working-directory: './monaco-editor'
|
working-directory: './monaco-editor'
|
||||||
run: npm run build-website
|
run: npm run build-website
|
||||||
|
|
||||||
- name: Configure `npm`
|
- name: Set `npm` config
|
||||||
run: npm config set //registry.npmjs.org/:_authToken ${NPM_TOKEN}
|
run: npm config set //registry.npmjs.org/:_authToken ${NPM_TOKEN}
|
||||||
env:
|
env:
|
||||||
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
|
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`
|
- name: Publish `monaco-editor`
|
||||||
working-directory: './monaco-editor/release'
|
working-directory: './monaco-editor/release'
|
||||||
run: npm publish --tag next
|
run: npm publish --tag next
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue