chore(deps): update node.js to v22 #333
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: 'Upload SCIP to 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 tsx @sourcegraph/src | |
- run: tsx src/main.ts index | |
- name: Upload SCIP to Cloud | |
run: src code-intel upload -github-token='${{ secrets.GITHUB_TOKEN }}' -no-progress | |
env: | |
SRC_ENDPOINT: https://sourcegraph.com/ | |
SRC_ACCESS_TOKEN: ${{ secrets.SRC_ACCESS_TOKEN_DOTCOM }} | |
- name: Upload SCIP to S2 | |
run: src code-intel upload -github-token='${{ secrets.GITHUB_TOKEN }}' -no-progress | |
env: | |
SRC_ENDPOINT: https://sourcegraph.sourcegraph.com/ | |
SRC_ACCESS_TOKEN: ${{ secrets.SRC_ACCESS_TOKEN_S2 }} |