Skip to content

Move enterprise support definitions to antora.yaml file (#55) #49

Move enterprise support definitions to antora.yaml file (#55)

Move enterprise support definitions to antora.yaml file (#55) #49

name: Publish to npm
on:
push:
branches:
- main
jobs:
publish:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: '18'
registry-url: 'https://registry.npmjs.org/'
- name: Install dependencies
run: npm install
- name: Publish
id: publish
uses: JS-DevTools/npm-publish@v2
with:
token: ${{ secrets.NPM_TOKEN }}
- name: Check published version
if: ${{ steps.publish.outputs.type }}
run: echo "Version changed!"