mirror of
https://github.com/chatmail/core.git
synced 2026-09-22 04:58:47 +03:00
ci: update Node version to 24
https://docs.npmjs.com/trusted-publishers recommends node-version 24 and not updating npm separately, this change copies the recommended configuration. Also update node version to 24 in non-release workflows, version 18 is EOL. There is a version 26 already, but 24 is LTS. Also disable cache for release pipelines.
This commit is contained in:
10
.github/workflows/jsonrpc-client-npm-package.yml
vendored
10
.github/workflows/jsonrpc-client-npm-package.yml
vendored
@@ -22,15 +22,13 @@ jobs:
|
||||
show-progress: false
|
||||
persist-credentials: false
|
||||
|
||||
# Configure Node.js for publishing.
|
||||
# Check <https://docs.npmjs.com/trusted-publishers> for the version requirements.
|
||||
- uses: actions/setup-node@v6
|
||||
with:
|
||||
node-version: 20
|
||||
node-version: 24
|
||||
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
|
||||
package-manager-cache: false # never use caching in release builds
|
||||
|
||||
- name: Install dependencies without running scripts
|
||||
working-directory: deltachat-jsonrpc/typescript
|
||||
|
||||
Reference in New Issue
Block a user