mirror of
https://github.com/chatmail/core.git
synced 2026-05-08 17:36:29 +03:00
ci: update npm before publishing packages
Newer npm is apparently needed for "trusted publishing".
This commit is contained in:
5
.github/workflows/deltachat-rpc-server.yml
vendored
5
.github/workflows/deltachat-rpc-server.yml
vendored
@@ -518,6 +518,11 @@ jobs:
|
|||||||
node-version: 20
|
node-version: 20
|
||||||
registry-url: "https://registry.npmjs.org"
|
registry-url: "https://registry.npmjs.org"
|
||||||
|
|
||||||
|
# Ensure npm 11.5.1 or later is installed.
|
||||||
|
# It is needed for <https://docs.npmjs.com/trusted-publishers>
|
||||||
|
- name: Update npm
|
||||||
|
run: npm install -g npm@latest
|
||||||
|
|
||||||
- name: Publish npm packets for prebuilds and `@deltachat/stdio-rpc-server`
|
- name: Publish npm packets for prebuilds and `@deltachat/stdio-rpc-server`
|
||||||
if: github.event_name == 'release'
|
if: github.event_name == 'release'
|
||||||
working-directory: deltachat-rpc-server/npm-package
|
working-directory: deltachat-rpc-server/npm-package
|
||||||
|
|||||||
@@ -27,6 +27,11 @@ jobs:
|
|||||||
node-version: 20
|
node-version: 20
|
||||||
registry-url: "https://registry.npmjs.org"
|
registry-url: "https://registry.npmjs.org"
|
||||||
|
|
||||||
|
# Ensure npm 11.5.1 or later is installed.
|
||||||
|
# It is needed for <https://docs.npmjs.com/trusted-publishers>
|
||||||
|
- name: Update npm
|
||||||
|
run: npm install -g npm@latest
|
||||||
|
|
||||||
- name: Install dependencies without running scripts
|
- name: Install dependencies without running scripts
|
||||||
working-directory: deltachat-jsonrpc/typescript
|
working-directory: deltachat-jsonrpc/typescript
|
||||||
run: npm install --ignore-scripts
|
run: npm install --ignore-scripts
|
||||||
|
|||||||
Reference in New Issue
Block a user