diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index 79917e1..216078c 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -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: