Skip to content

Commit

Permalink
add missing steps to release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
jamcry committed Mar 26, 2024
1 parent 44c4beb commit 94604e8
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,19 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Setup repo
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Setup Node.js
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: 18.0.0

- name: Install dependencies
run: npm install

- name: Build
run: npm run build

- id: publish-to-npm
uses: JS-DevTools/npm-publish@v1
with:
Expand All @@ -31,4 +37,4 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # This token is provided by Actions, you do not need to create your own token
with:
tag_name: ${{ steps.publish-to-npm.outputs.version }}
release_name: ${{ steps.publish-to-npm.outputs.version }}
release_name: ${{ steps.publish-to-npm.outputs.version }}

0 comments on commit 94604e8

Please sign in to comment.