Skip to content
This repository was archived by the owner on Sep 9, 2025. It is now read-only.
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Remove NPM publish workflow job
  • Loading branch information
Hendrik van Antwerpen
Hendrik van Antwerpen committed Jul 10, 2024
commit 5fcc8517eb3ee045046fd5cff3b7ef79dedc9f4a
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