diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 668f49c36b..02e383fa3a 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -30,28 +30,34 @@ jobs: echo "Version $OLD_VERSION hasn't changed, skipping the release" fi - - name: Create a git tag - if: ${{ steps.version.outputs.version }} - run: git tag $NEW_VERSION && git push --tags - env: - NEW_VERSION: ${{ steps.version.outputs.version }} + # - name: Create a git tag + # if: ${{ steps.version.outputs.version }} + # run: git tag $NEW_VERSION && git push --tags + # env: + # NEW_VERSION: ${{ steps.version.outputs.version }} - - name: GitHub release + # - name: GitHub release + # if: ${{ steps.version.outputs.version }} + # uses: actions/create-release@v1 + # id: create_release + # with: + # draft: false + # prerelease: false + # release_name: ${{ steps.version.outputs.version }} + # tag_name: ${{ steps.version.outputs.version }} + # body_path: TEMP_CHANGELOG.md + # env: + # GITHUB_TOKEN: ${{ github.token }} + + - uses: actions/setup-node@v3 if: ${{ steps.version.outputs.version }} - uses: actions/create-release@v1 - id: create_release with: - draft: false - prerelease: false - release_name: ${{ steps.version.outputs.version }} - tag_name: ${{ steps.version.outputs.version }} - body_path: TEMP_CHANGELOG.md - env: - GITHUB_TOKEN: ${{ github.token }} + node-version: '16.x' + registry-url: 'https://registry.npmjs.org' - name: Install dependencies if: ${{ steps.version.outputs.version }} - run: npm install + run: npm ci - name: Publish to NPM if: ${{ steps.version.outputs.version }} diff --git a/CHANGES.md b/CHANGES.md index ae92679b96..d10d1c5d01 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -3,9 +3,8 @@ wavesurfer.js changelog 6.6.1 (18.03.2023) ------------------ -- Temp: test on this branch -- Fix: avoid exit 1 in CI script - Fix: NPM publish in the CI job (#2727) + - Fix: avoid exit 1 in CI script (#2734) - Docs: add a video tutorial link to the readme (#2724) 6.6.0 (14.03.2023)