Skip to content

Commit

Permalink
ci(js): enable npm publishing on release
Browse files Browse the repository at this point in the history
  • Loading branch information
es3n1n committed Oct 4, 2024
1 parent 508beec commit 095bcc1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
run: npm run test

build_js:
# if: github.repository == 'es3n1n/re-unplayplay' && github.event_name == 'release'
if: github.repository == 'es3n1n/re-unplayplay' && github.event_name == 'release'
name: Build ${{ matrix.docker-arch || matrix.arch }} on ${{ matrix.docker-image || matrix.container || matrix.os }} ${{ matrix.libc }}
runs-on: ${{ matrix.os }}
strategy:
Expand Down Expand Up @@ -163,7 +163,7 @@ jobs:
retention-days: 1

bundle:
# if: github.repository == 'es3n1n/re-unplayplay' && github.event_name == 'release'
if: github.repository == 'es3n1n/re-unplayplay' && github.event_name == 'release'
name: Bundle prebuilds
needs: build_js
runs-on: ubuntu-latest
Expand All @@ -185,7 +185,7 @@ jobs:
retention-days: 7

publish:
# if: github.repository == 'es3n1n/re-unplayplay' && github.event_name == 'release'
if: github.repository == 'es3n1n/re-unplayplay' && github.event_name == 'release'
name: Publish to npm
needs: bundle
runs-on: ubuntu-latest
Expand Down

0 comments on commit 095bcc1

Please sign in to comment.