Skip to content

Merge pull request #1 from razroo/ZETA-8693-upgrade-ngx-tiptap-18 #1

Merge pull request #1 from razroo/ZETA-8693-upgrade-ngx-tiptap-18

Merge pull request #1 from razroo/ZETA-8693-upgrade-ngx-tiptap-18 #1

Workflow file for this run

name: NPM Publish
env:
NODE_VERSION: 18
on:
push:
tags: v*
jobs:
build-publish:
runs-on: ubuntu-latest
permissions:
contents: read
id-token: write
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: ${{env.NODE_VERSION}}
registry-url: https://registry.npmjs.org/
cache: npm
- run: npm ci
- run: npm run build
env:
NODE_ENV: production
- name: Publish to NPM
run: npm publish --provenance dist/ngx-tiptap/
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}