Skip to content

Commit

Permalink
Merge pull request #83 from NASA-PDS/develop
Browse files Browse the repository at this point in the history
Merging `develop` branch to `main` to prep for release.
  • Loading branch information
anilnatha authored Nov 14, 2024
2 parents 3613a05 + bb44ca6 commit 2c06169
Show file tree
Hide file tree
Showing 14 changed files with 347 additions and 62 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/publish-to-npm.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
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 }}
Empty file added .npmignore
Empty file.
21 changes: 0 additions & 21 deletions LICENSE

This file was deleted.

2 changes: 1 addition & 1 deletion NOTICE.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
PDS XYZ Tool (update licensing below per specific organization)
PDS Web Design System React (wds-react) Component Library

Copyright 2020, California Institute of Technology ("Caltech").
U.S. Government sponsorship acknowledged.
Expand Down
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,10 @@ This web component library relies on the CSS/SASS styles defined in the [PDS Web

- Open the http://localhost:5173/ page or equivalent and then verify that the hello world message is displayed.

## Deployments

Deployments are managed automatically by using GitHub's release features. By creating a new release that contains a tag in the format, `vX.Y.Z`, the publishing workflow will be automatically triggered and a new version of the package will be deployed.

## Notes

### NPM Package Nanagement
Expand Down
Loading

0 comments on commit 2c06169

Please sign in to comment.