Merge pull request #507 from wabbajack-tools/update-dependencies #313
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
name: Test Workflow | |
on: | |
push: | |
branches: [ redux ] | |
pull_request: | |
branches: [ redux ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/cache@v2 | |
with: | |
path: ~/.npm | |
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }} | |
restore-keys: | | |
${{ runner.os }}-node- | |
- name: Setup .NET | |
uses: actions/setup-dotnet@v3 | |
with: | |
dotnet-version: | | |
8.0.x | |
- name: Setup Node 16.x | |
uses: actions/setup-node@v1 | |
with: | |
node-version: 16.x | |
- name: npm install | |
run: npm install | |
working-directory: Wabbajack.Web | |
- name: Build | |
run: dotnet build |