mirror of
https://github.com/chatmail/core.git
synced 2026-05-01 20:36:31 +03:00
ci: run actions/setup-node before npm publish
Otherwise it does not try to use NODE_AUTH_TOKEN.
This commit is contained in:
6
.github/workflows/deltachat-rpc-server.yml
vendored
6
.github/workflows/deltachat-rpc-server.yml
vendored
@@ -390,6 +390,12 @@ jobs:
|
|||||||
--repo ${{ github.repository }} \
|
--repo ${{ github.repository }} \
|
||||||
deltachat-rpc-server/npm-package/*.tgz
|
deltachat-rpc-server/npm-package/*.tgz
|
||||||
|
|
||||||
|
# Configure Node.js for publishing.
|
||||||
|
- uses: actions/setup-node@v4
|
||||||
|
with:
|
||||||
|
node-version: 20
|
||||||
|
registry-url: "https://registry.npmjs.org"
|
||||||
|
|
||||||
- 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
|
||||||
|
|||||||
Reference in New Issue
Block a user