Skip to content

Merge pull request #31 from strg-at/feat/3.0.1-version-tag #11

Merge pull request #31 from strg-at/feat/3.0.1-version-tag

Merge pull request #31 from strg-at/feat/3.0.1-version-tag #11

Workflow file for this run

name: On Tag | Publish Package to npmjs
on:
push:
# Sequence of patterns matched against refs/tags
tags:
- "*.*.*"
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup .npmrc file to publish to npm
uses: actions/setup-node@v3
with:
node-version: '16.x'
registry-url: 'https://registry.npmjs.org'
- name: Install
run: npm ci
- name: Publish
run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}