Skip to content

Commit 66d0c07

Browse files
jhchabranSourcegraph
and
Sourcegraph
authored
ci: migrate to scip-typescript (#93)
Co-authored-by: Sourcegraph <[email protected]>
1 parent 6649436 commit 66d0c07

File tree

2 files changed

+23
-17
lines changed

2 files changed

+23
-17
lines changed

.github/workflows/lsif.yml

-17
This file was deleted.

.github/workflows/scip.yml

+23
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: SCIP
2+
on:
3+
- push
4+
jobs:
5+
index:
6+
runs-on: ubuntu-latest
7+
steps:
8+
- uses: actions/checkout@v2
9+
- name: Setup Node.js
10+
uses: actions/setup-node@v2
11+
with:
12+
node-version: 16
13+
- run: yarn global add @sourcegraph/scip-typescript @sourcegraph/src
14+
- run: yarn --ignore-engines --ignore-scripts
15+
- run: scip-typescript index
16+
- name: Upload SCIP to Cloud
17+
run: src lsif upload -github-token='${{ secrets.GITHUB_TOKEN }}' -no-progress
18+
env:
19+
SRC_ENDPOINT: https://sourcegraph.com/
20+
- name: Upload SCIP to Dogfood
21+
run: src lsif upload -github-token='${{ secrets.GITHUB_TOKEN }}' -no-progress || true
22+
env:
23+
SRC_ENDPOINT: https://k8s.sgdev.org/

0 commit comments

Comments
 (0)