Skip to content

publish action

publish action #21

Workflow file for this run

name: publish
on:
push:
tags:
- "*"
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: "18.x"
- name: Install dependencies
run: npm ci
- run: npm version $(echo "${GITHUB_REF}" | sed 's/refs\/tags\///') --git-tag-version false
- run: cat package.json
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
- run: cat CHANGELOG.md
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}