Add rich navigation indexing action (#45431)
* Add rich navigation indexing action * Remove dbaeumer/richNav from indexed branches * Move lsifrc file to .github folder * Remove dbaeumer/richNav
This commit is contained in:
parent
076f22b2c9
commit
b45e129f4a
6
.github/workflow-resources/.lsifrc.json
vendored
Normal file
6
.github/workflow-resources/.lsifrc.json
vendored
Normal file
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"project": "../../src/tsconfig.json",
|
||||
"source": "../../package.json",
|
||||
"package": "../../package.json",
|
||||
"out": "../../typescript.lsif"
|
||||
}
|
35
.github/workflows/rich-navigation.yml
vendored
Normal file
35
.github/workflows/rich-navigation.yml
vendored
Normal file
|
@ -0,0 +1,35 @@
|
|||
name: "Rich Navigation Indexing"
|
||||
on:
|
||||
workflow_dispatch:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
- release-*
|
||||
pull_request:
|
||||
branches:
|
||||
- main
|
||||
- release-*
|
||||
|
||||
jobs:
|
||||
richnav:
|
||||
runs-on: windows-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
with:
|
||||
fetch-depth: 5
|
||||
|
||||
- uses: actions/setup-node@v2
|
||||
with:
|
||||
node-version: 14
|
||||
|
||||
- name: Install dependencies
|
||||
run: npm ci
|
||||
|
||||
- uses: microsoft/RichCodeNavIndexer@v0.1
|
||||
with:
|
||||
languages: typescript
|
||||
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
typescriptVersion: 0.6.0-next.18
|
||||
configFiles: .github/workflow-resources/.lsifrc.json
|
||||
continue-on-error: true
|
Loading…
Reference in a new issue