Skip to content

Commit

Permalink
added missing build step
Browse files Browse the repository at this point in the history
  • Loading branch information
randilfernando committed Mar 30, 2024
1 parent f51c109 commit 07f0bb5
Showing 1 changed file with 2 additions and 14 deletions.
16 changes: 2 additions & 14 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,20 +17,8 @@ jobs:
registry-url: 'https://registry.npmjs.org'
- name: Install dependencies
run: npm ci
- name: Get version from package.json
id: get_version
run: echo "version=$(node -p "require('./package.json').version")" >> $GITHUB_OUTPUT
- name: Create Release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: v${{ steps.get_version.outputs.version }}
release_name: Release ${{ steps.get_version.outputs.version }}
body: |
Release ${{ steps.get_version.outputs.version }}
draft: false
prerelease: false
- name: Build package
run: npm run build
- name: Publish package
run: npm publish
env:
Expand Down

0 comments on commit 07f0bb5

Please sign in to comment.