diff --git a/.github/workflow-resources/.lsifrc.json b/.github/workflow-resources/.lsifrc.json new file mode 100644 index 0000000000000..bec9a9dd7a4b1 --- /dev/null +++ b/.github/workflow-resources/.lsifrc.json @@ -0,0 +1,6 @@ +{ + "project": "../../src/tsconfig.json", + "source": "../../package.json", + "package": "../../package.json", + "out": "../../typescript.lsif" +} \ No newline at end of file diff --git a/.github/workflows/rich-navigation.yml b/.github/workflows/rich-navigation.yml new file mode 100644 index 0000000000000..4097f2893c3a2 --- /dev/null +++ b/.github/workflows/rich-navigation.yml @@ -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