Skip to content

update

update #10

Workflow file for this run

name: Build And Test
on:
push:
branches:
- "*"
env:
CONFIGURATION: Release
DOTNET_CORE_VERSION: 7.0.x
WORKING_DIRECTORY: devblog
CLIENT_APP_DIRECTORY: ClientApp\
jobs:
build:
runs-on: windows-latest
steps:
# - uses: actions/checkout@v3
# - name: Setup .NET SDK
# uses: actions/setup-dotnet@v3
# with:
# dotnet-version: ${{ env.DOTNET_CORE_VERSION }}
# - name: Restore
# run: dotnet restore "${{ env.WORKING_DIRECTORY }}"
# - name: Dotnet Build
# run: dotnet build "${{ env.WORKING_DIRECTORY }}" --configuration ${{ env.CONFIGURATION }} --no-restore
# - name: Test
# run: dotnet test "${{ env.WORKING_DIRECTORY }}" --no-build
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- run: npm ci
- name: npm run build
run: npm --prefix "${{ env.CLIENT_APP_DIRECTORY }}" run build