Skip to content

Commit

Permalink
Update npm-publish-github-packages.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
thyngster authored Nov 16, 2024
1 parent 7918341 commit eef8f31
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/npm-publish-github-packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: '16' # Specify your Node.js version
node-version: '20' # Specify your Node.js version

- name: Install dependencies
run: npm install
Expand All @@ -35,7 +35,7 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ env.RELEASE_TAG }} # Use the dynamically generated tag from the branch name
release_name: ${{ env.RELEASE_TAG }} # Use the same name for the release
name: ${{ env.RELEASE_TAG }} # Use 'name' instead of 'release_name'

- name: Publish the package (optional)
run: npm publish # Optional, only if you're publishing the package to npm

0 comments on commit eef8f31

Please sign in to comment.