forked from xola/ui-kit
-
Notifications
You must be signed in to change notification settings - Fork 0
31 lines (26 loc) · 988 Bytes
/
deploy-icons.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# 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/