mirror of
https://github.com/chatmail/core.git
synced 2026-04-17 21:46:35 +03:00
Bumps [actions/setup-node](https://github.com/actions/setup-node) from 5 to 6. - [Release notes](https://github.com/actions/setup-node/releases) - [Commits](https://github.com/actions/setup-node/compare/v5...v6) --- updated-dependencies: - dependency-name: actions/setup-node dependency-version: '6' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
42 lines
1.0 KiB
YAML
42 lines
1.0 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
|
|
permissions:
|
|
id-token: write
|
|
contents: read
|
|
steps:
|
|
- uses: actions/checkout@v5
|
|
with:
|
|
show-progress: false
|
|
persist-credentials: false
|
|
|
|
- uses: actions/setup-node@v6
|
|
with:
|
|
node-version: 20
|
|
registry-url: "https://registry.npmjs.org"
|
|
|
|
- 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
|
|
env:
|
|
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|