Skip to content

Publish @xola/icons

Publish @xola/icons #3

Workflow file for this run

# For more information see: https://docs.github.com/en/actions/publishing-packages/publishing-nodejs-packages
name: Publish @xola/icons
on:
workflow_dispatch:
inputs:
tag:
description: "Tag version"
default: latest
required: true
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 16
cache: "npm"
cache-dependency-path: "package-lock.json"
registry-url: https://registry.npmjs.org/
- run: cd src/icons && pwd && npm ci
- name: Publish to @xola/icons
run: cd src/icons && pwd && npm publish --tag ${{ github.event.inputs.tag }}
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}
registry-url: https://registry.npmjs.org/