fix: Normalize relative_path and avoid emitting multiple Documents for same file #1303
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Sourcegraph | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- run: yarn install | |
- run: yarn global add ts-node @sourcegraph/src | |
- run: ts-node src/main.ts index | |
- run: src code-intel upload "-commit=${GITHUB_SHA}" "-github-token=${GITHUB_TOKEN}" | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |