Merge pull request #896 from warrenbuckley/dependabot/npm_and_yarn/Lo… #2040
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### 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: Microsoft Rich Code Navigation | |
on: | |
pull_request: | |
push: | |
branches: [ dev ] | |
jobs: | |
richnav: | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v3 | |
# **** Please change 'dotnet-version' to be the version of the .NET SDK used in your project **** # | |
- name: Setup .NET Core | |
uses: actions/setup-dotnet@v3 | |
with: | |
dotnet-version: '7.0.x' | |
# **** Please change 'working-directory' to be the location where your .SLN file is located **** # | |
- name: Install dependencies | |
run: dotnet restore | |
working-directory: LogViewer.Server | |
# **** Please change the version of Node being used to the one for your project **** # | |
- name: Use Node.js 16.x | |
uses: actions/setup-node@v3 | |
with: | |
node-version: '16' | |
- name: npm install | |
working-directory: LogViewer.Client | |
run: npm install | |
- uses: microsoft/[email protected] | |
with: | |
repo-token: ${{ secrets.GITHUB_TOKEN }} | |
languages: csharp,typescript |