Skip to content

Commit

Permalink
Remove NPM publish workflow job
Browse files Browse the repository at this point in the history
  • Loading branch information
hendrikvanantwerpen committed Jul 10, 2024
1 parent d7665d1 commit 5fcc851
Showing 1 changed file with 0 additions and 25 deletions.
25 changes: 0 additions & 25 deletions .github/workflows/publish-tree-sitter-stack-graphs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,31 +29,6 @@ jobs:
working-directory: ${{ env.CRATE_DIR }}
env:
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}
publish-npm:
needs: publish-crate
runs-on: ubuntu-latest
env:
PACKAGE_DIR: './tree-sitter-stack-graphs/npm'
steps:
- name: Install Node environment
uses: actions/setup-node@v3
with:
node-version: 16.x
registry-url: 'https://registry.npmjs.org'
- name: Checkout repository
uses: actions/checkout@v3
# TODO Verify the package version matches the tag
- name: Install dependencies
run: npm install
working-directory: ${{ env.PACKAGE_DIR }}
- name: Verify package
run: npm publish --dry-run
working-directory: ${{ env.PACKAGE_DIR }}
- name: Publish package
run: npm publish
working-directory: ${{ env.PACKAGE_DIR }}
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
create-release:
needs: publish-crate
runs-on: ubuntu-latest
Expand Down

0 comments on commit 5fcc851

Please sign in to comment.