Skip to content

Commit

Permalink
ci: migrate to scip-typescript (#217)
Browse files Browse the repository at this point in the history
Co-authored-by: Sourcegraph <[email protected]>
  • Loading branch information
jhchabran and Sourcegraph authored Nov 7, 2022
1 parent 63e543a commit 70032fa
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 15 deletions.
15 changes: 0 additions & 15 deletions .github/workflows/lsif.yml

This file was deleted.

23 changes: 23 additions & 0 deletions .github/workflows/scip.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: SCIP
on:
- push
jobs:
index:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- 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/

0 comments on commit 70032fa

Please sign in to comment.