mirror of
https://github.com/chatmail/core.git
synced 2026-08-18 06:36:29 +03:00
Bumps [actions/setup-node](https://github.com/actions/setup-node) from 6 to 7. - [Release notes](https://github.com/actions/setup-node/releases) - [Commits](https://github.com/actions/setup-node/compare/v6...v7) --- updated-dependencies: - dependency-name: actions/setup-node dependency-version: '7' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
46 lines
1.3 KiB
YAML
46 lines
1.3 KiB
YAML
name: "Publish @deltachat/jsonrpc-client"
|
|
on:
|
|
workflow_dispatch:
|
|
release:
|
|
types: [published]
|
|
|
|
permissions: {}
|
|
|
|
jobs:
|
|
pack-module:
|
|
name: "Publish @deltachat/jsonrpc-client"
|
|
runs-on: ubuntu-latest
|
|
environment:
|
|
name: npm-jsonrpc-client
|
|
url: https://www.npmjs.com/package/@deltachat/jsonrpc-client
|
|
permissions:
|
|
id-token: write
|
|
contents: read
|
|
steps:
|
|
- uses: actions/checkout@v7
|
|
with:
|
|
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@v7
|
|
with:
|
|
node-version: 24
|
|
registry-url: "https://registry.npmjs.org"
|
|
package-manager-cache: false # never use caching in release builds
|
|
|
|
- name: Install dependencies without running scripts
|
|
working-directory: deltachat-jsonrpc/typescript
|
|
run: npm install --ignore-scripts
|
|
|
|
- name: Package
|
|
working-directory: deltachat-jsonrpc/typescript
|
|
run: |
|
|
npm run build
|
|
npm pack .
|
|
|
|
- name: Publish
|
|
working-directory: deltachat-jsonrpc/typescript
|
|
run: npm publish --provenance deltachat-jsonrpc-client-* --access public
|