chore(deps): update actions/checkout action to v4 #262
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: SCIP | |
on: | |
- push | |
jobs: | |
index: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup Node.js | |
uses: actions/setup-node@v2 | |
with: | |
node-version: 16 | |
- run: yarn global add @sourcegraph/scip-typescript @sourcegraph/src | |
- run: yarn --ignore-engines --ignore-scripts | |
- run: scip-typescript index | |
- name: Upload SCIP to Cloud | |
run: src lsif upload -github-token='${{ secrets.GITHUB_TOKEN }}' -no-progress | |
env: | |
SRC_ENDPOINT: https://sourcegraph.com/ | |
- name: Upload SCIP to Dogfood | |
run: src lsif upload -github-token='${{ secrets.GITHUB_TOKEN }}' -no-progress || true | |
env: | |
SRC_ENDPOINT: https://k8s.sgdev.org/ |