Merge pull request #83 from NASA-PDS/develop #1
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 }} |