Skip to content

Publish Icons to NPM #1

Publish Icons to NPM

Publish Icons to NPM #1

name: Publish Icons to NPM
on:
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: '16.x'
registry-url: 'https://registry.npmjs.org'
- name: Publish to NPM
env:
NODE_AUTH_TOKEN: ${{ secrets.HYVOR_ORG_NPM_TOKEN }}
working-directory: ./icons
run: |
npm ci
npm run package
npm publish