Skip to content

Merge pull request #5 from cursorinsight/denes-ci-trap-web #3

Merge pull request #5 from cursorinsight/denes-ci-trap-web

Merge pull request #5 from cursorinsight/denes-ci-trap-web #3

Workflow file for this run

name: Publish Package to npmjs
permissions:
contents: write
id-token: write
on:
push:
tags:
- '?.?.?'
env:
NODE_VERSION: 18
jobs:
publish:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Install Node.js
uses: actions/setup-node@v4
with:
node-version: ${{ env.NODE_VERSION }}
registry-url: 'https://registry.npmjs.org'
- run: npm ci
- run: npm publish --provenance
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}