From b45e129f4a0907f83ac61fa67aff873d1f64caea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dirk=20B=C3=A4umer?= Date: Tue, 24 Aug 2021 22:38:11 +0200 Subject: [PATCH] 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 --- .github/workflow-resources/.lsifrc.json | 6 +++++ .github/workflows/rich-navigation.yml | 35 +++++++++++++++++++++++++ 2 files changed, 41 insertions(+) create mode 100644 .github/workflow-resources/.lsifrc.json create mode 100644 .github/workflows/rich-navigation.yml 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