Skip to content

Commit

Permalink
Update RELEASE.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
johntalton committed May 26, 2024
1 parent f42971e commit 16a0870
Showing 1 changed file with 4 additions and 13 deletions.
17 changes: 4 additions & 13 deletions .github/workflows/RELEASE.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Publish (NPM / GitHub)
name: Publish (NPM)
on:
release:
types: [created]
Expand All @@ -8,21 +8,12 @@ jobs:
steps:
- uses: actions/checkout@v4
# Publish to NPM
- uses: actions/setup-node@v4.0.2
- uses: actions/setup-node@v4
with:
registry-url: 'https://registry.npmjs.org/'
- run: npm install
- run: npm run build
- run: npm run format
- run: npm run build --if-exists
- run: npm run format --if-exists
- run: npm publish --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

# Publish to GitHub
# - uses: actions/setup-node@v4.0.2
# with:
# node-version: '14'
# registry-url: 'https://npm.pkg.github.com/'
# - run: npm publish
# env:
# NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 16a0870

Please sign in to comment.