8.0.0 #2
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: publish | |
on: | |
push: | |
tags: | |
- '*' | |
jobs: | |
publish: | |
name: Publish | |
if: github.repository_owner == 'JimiC' | |
runs-on: ubuntu-latest | |
steps: | |
- name: Cloning repository | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 5 | |
- name: "Setting up Node.js: 18" | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 18 | |
- name: Build info | |
run: | | |
node --version | |
npm --version | |
- name: Installing dependencies | |
run: npm ci | |
- name: Publishing to NPM | |
uses: JS-DevTools/npm-publish@v1 | |
with: | |
token: ${{ secrets.NPM_AUTH_TOKEN }} |