diff --git a/.github/workflows/richnav-all.yml b/.github/workflows/richnav-all.yml new file mode 100644 index 0000000..e47f1f2 --- /dev/null +++ b/.github/workflows/richnav-all.yml @@ -0,0 +1,47 @@ +### This template is meant to be used by a .NET Core repository running RichNav +### Please fill anything marked above with a "# **** #" comment with the value appropriate for your repository + +name: Rich Code Navigation + +on: + pull_request: + push: + branches: [ master ] + +jobs: + richnav: + + runs-on: windows-latest + + steps: + - uses: actions/checkout@v2 + + # **** Please change 'dotnet-version' to be the version of the .NET SDK used in your project **** # + - name: Setup .NET Core + uses: actions/setup-dotnet@v1 + with: + dotnet-version: 3.1.101 + + # **** Please change 'working-directory' to be the location where your .SLN file is located **** # + - name: Install dependencies + run: dotnet restore + working-directory: ./csharp + + # **** Please change the version of Node being used to the one for your project **** # + - name: Use Node.js 12.x + uses: actions/setup-node@v1 + with: + node-version: 12.x + + - run: yarn + working-directory: typescript + + - name: Set up JDK 1.8 + uses: actions/setup-java@v1 + with: + java-version: 1.8 + + - uses: microsoft/RichCodeNavIndexer@v0.1 + with: + repo-token: ${{ secrets.GITHUB_TOKEN }} + languages: csharp,java,typescript,cpp \ No newline at end of file diff --git a/.github/workflows/richnav-csharp.yml b/.github/workflows/richnav-csharp.yml new file mode 100644 index 0000000..6d693b5 --- /dev/null +++ b/.github/workflows/richnav-csharp.yml @@ -0,0 +1,33 @@ +### This template is meant to be used by a .NET Core repository running RichNav +### Please fill anything marked above with a "# **** #" comment with the value appropriate for your repository +name: Rich Code Navigation (.NET Core) + +on: + pull_request: + push: + branches: [ master ] + +jobs: + build: + + runs-on: windows-latest + + steps: + + - uses: actions/checkout@v2 + + # **** Please change 'dotnet-version' to be the version of the .NET SDK used in your project **** # + - name: Setup .NET Core + uses: actions/setup-dotnet@v1 + with: + dotnet-version: 3.1.101 + + # **** Please change 'working-directory' to be the location where your .SLN file is located **** # + - name: Install dependencies + run: dotnet restore + working-directory: ./csharp + + - uses: microsoft/RichCodeNavIndexer@v0.1 + with: + languages: csharp + repo-token: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/richnav-java.yml b/.github/workflows/richnav-java.yml new file mode 100644 index 0000000..ae1406e --- /dev/null +++ b/.github/workflows/richnav-java.yml @@ -0,0 +1,27 @@ +### This template is meant to be used by a .NET Core repository running RichNav +### Please fill anything marked above with a "# **** #" comment with the value appropriate for your repository + +name: Rich Code Navigation (Java with Maven) + +on: + pull_request: + push: + branches: [ master ] + +jobs: + richnav: + + runs-on: windows-latest + + steps: + - uses: actions/checkout@v2 + + - name: Set up JDK 1.8 + uses: actions/setup-java@v1 + with: + java-version: 1.8 + + - uses: microsoft/RichCodeNavIndexer@v0.1 + with: + languages: java + repo-token: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file diff --git a/.github/workflows/richnav-typescript.yml b/.github/workflows/richnav-typescript.yml new file mode 100644 index 0000000..99fde22 --- /dev/null +++ b/.github/workflows/richnav-typescript.yml @@ -0,0 +1,35 @@ +### This template is meant to be used by a .NET Core repository running RichNav +### Please fill anything marked above with a "# **** #" comment with the value appropriate for your repository + +name: Rich Code Navigation (Node JS) + +on: + pull_request: + push: + branches: [ master ] + +jobs: + richnav: + + runs-on: windows-latest + + # **** If necessary, use the Node version for your repository. Note: must be greater than 10.x **** # + strategy: + matrix: + node-version: [10.x, 12.x, 14.x] + + steps: + - uses: actions/checkout@v2 + - name: Use Node.js ${{ matrix.node-version }} + uses: actions/setup-node@v1 + with: + node-version: ${{ matrix.node-version }} + + - run: yarn + working-directory: typescript + + - uses: microsoft/RichCodeNavIndexer@v0.1 + with: + languages: typescript + repo-token: ${{ secrets.GITHUB_TOKEN }} + diff --git a/.gitignore b/.gitignore index bfb15f2..6f20df6 100644 --- a/.gitignore +++ b/.gitignore @@ -3,6 +3,9 @@ ## ## Get latest from https://github.com/github/gitignore/blob/master/VisualStudio.gitignore +# TypeScript +typescript/lib +node_modules .vscode/ # User-specific files diff --git a/typescript/package.json b/typescript/package.json new file mode 100644 index 0000000..405365a --- /dev/null +++ b/typescript/package.json @@ -0,0 +1,10 @@ +{ + "name": "tester-game", + "version": "0.0.1", + "description": "A simple Typescript game to test things", + "main": "App.js", + "license": "MIT", + "scripts": { + "build": "tsc -p ./" + } +} \ No newline at end of file diff --git a/typescript/yarn.lock b/typescript/yarn.lock new file mode 100644 index 0000000..fb57ccd --- /dev/null +++ b/typescript/yarn.lock @@ -0,0 +1,4 @@ +# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. +# yarn lockfile v1 + +