Skip to content
This repository has been archived by the owner on Sep 9, 2024. It is now read-only.

Publish on tag push

Publish on tag push #4

Workflow file for this run

name: Publish on tag push
on:
push:
tags:
- 'v[0-9]+.[0-9]+.[0-9]+'
- '[0-9]+.[0-9]+.[0-9]+rc[0-9]+'
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: "18"
- name: Install Dependencies
run: npm ci
- name: Lint Code
run: npm run lint
- uses: JS-DevTools/npm-publish@v2
with:
token: ${{ secrets.NPM_TOKEN }}
access: 'public'