Skip to content

specify tag name when publishing (#820) #4

specify tag name when publishing (#820)

specify tag name when publishing (#820) #4

Workflow file for this run

name: Publish JSONata
on:
push:
tags:
- 'v*'
permissions:
id-token: write # Required for OIDC
contents: read
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: actions/setup-node@v6
with:
node-version: '24'
registry-url: 'https://registry.npmjs.org'
package-manager-cache: false # never use caching in release builds
- name: Install and build
run: npm install && npm test
- name: Publish to NPM
run: npm publish --tag ${{ github.ref_name }}