Skip to content

Publish

Publish #6

Workflow file for this run

name: Publish
on:
workflow_dispatch:
inputs:
version:
type: string
required: true
description: Publishing version (tag name)
jobs:
publish:
runs-on: ubuntu-latest
steps:
- name: Checkout Quill repository
uses: actions/checkout@v3
with:
ref: ${{ inputs.version }}
- name: Build
uses: ./.github/actions/quill/steps/build
- uses: actions/setup-node@v3
with:
node-version: '18'
registry-url: 'https://registry.npmjs.org'
- name: Publish to NPM
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
run: npm publish --access=public
- name: Setup NPM tags for 1.6.x
if: startsWith(inputs.version, '1.6')
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
run: |
npm dist-tag add devextreme-quill@${{ inputs.version }} 24_1