Skip to content

Commit

Permalink
remove automatic npm release, do them manually from now on
Browse files Browse the repository at this point in the history
  • Loading branch information
Simon McAllister committed Oct 21, 2023
1 parent ab6b299 commit 5f03ef7
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,18 +53,3 @@ jobs:
outputs:
releases_created: ${{steps.release.outputs.releases_created}}

npm-publish:
runs-on: ubuntu-latest
needs: [github-release]
if: ${{ needs.github-release.outputs.releases_created == 'true' }} # only publish to npm if a github release has been made
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 16 # remember to update this when support is added/dropped
registry-url: "https://registry.npmjs.org"
- run: npm ci --production
- run: npm run build
- run: npm publish # SUPPORTING OLDER MAJOR VERSIONS: add a tag so that 'latest' tag isn't used, e.g. `npm publish --tag v1-latest`
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}

0 comments on commit 5f03ef7

Please sign in to comment.