Skip to content

hotfix: auto tag package version fixed (#36) #8

hotfix: auto tag package version fixed (#36)

hotfix: auto tag package version fixed (#36) #8

Workflow file for this run

name: Publish to NPM
on:
push:
tags:
- "*"
jobs:
publish-npm:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 22.11.0
- name: Download & Build Icons
run: npm ci --progress=false && npm i @iconscout/unicons@latest && npm run generate
- name: Publish to NPM
run: echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" > ~/.npmrc && npm publish
env:
NPM_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}