Skip to content

Merge pull request #83 from NASA-PDS/develop #1

Merge pull request #83 from NASA-PDS/develop

Merge pull request #83 from NASA-PDS/develop #1

Workflow file for this run

name: Publish to NPM
on:
push:
tags:
- v*
workflow_dispatch:
jobs:
publish-to-npm:
runs-on: ubuntu-latest
permissions:
contents: read
id-token: write
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
cache: npm
node-version: 'lts/*'
registry-url: 'https://registry.npmjs.org'
- name: Install Dependencies
run: npm ci
- name: Build Icons
run: npm run build-icons
- name: Build Component Library
run: npm run build-lib
- name: Publish
run: npm publish --verbose --provenance --access public
continue-on-error: true
env:
NODE_AUTH_TOKEN: ${{ secrets.NPMJS_COM_TOKEN }}