Skip to content

Commit

Permalink
revert to using GITHUB_TOKEN
Browse files Browse the repository at this point in the history
  • Loading branch information
mackenzie-grimes-noaa committed Nov 7, 2024
1 parent 48b0e4e commit 12fde6f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/publish-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ on:
release:
types: [published]


jobs:
build:
runs-on: ubuntu-latest
Expand All @@ -18,13 +17,13 @@ jobs:
uses: actions/checkout@v2

# Setup .npmrc file to publish to GitHub Packages
# Note that the secrets.GHCR_PAT is a GitHub Personal Access Token and is defined
# Note that the secrets.GITHUB_TOKEN is a GitHub Personal Access Token and is defined
# in the idsse-muppet's repository's secrets settings
# - name: Create .npmrc file
# run: |
# echo 'registry=https://registry.npmjs.org/' > .npmrc
# echo '@noaa-gsl:registry=https://npm.pkg.github.com/' >> .npmrc
# echo "//npm.pkg.github.com/:_authToken=${{ secrets.GHCR_PAT }}" >> .npmrc
# echo "//npm.pkg.github.com/:_authToken=${{ secrets.GITHUB_TOKEN }}" >> .npmrc

- name: Install node
uses: actions/setup-node@v4
Expand All @@ -45,4 +44,4 @@ jobs:
- name: Publish npm package
run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.GHCR_PAT }}
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@noaa-gsl/idsse-muppet",
"version": "0.0.5",
"version": "0.0.6",
"description": "Connect to, send, and receive data over MUPPET data channels in convenient React interfaces using the MUPPETs protocol",
"main": "index.js",
"scripts": {
Expand Down

0 comments on commit 12fde6f

Please sign in to comment.