Skip to content
This repository has been archived by the owner on Jan 10, 2024. It is now read-only.

Migrate to .net8.0

Migrate to .net8.0 #38

Workflow file for this run

# This workflow will do a clean installation of node dependencies, cache/restore them, build the source code and run tests across different versions of node
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-nodejs
name: Ensure React Project Builds
on:
push:
branches: [ "dev", "main" ]
pull_request:
branches: [ "dev", "main" ]
env:
WORKING_DIRECTORY: ./src/EducationTrail/ClientApp
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: '18.x'
cache: 'npm'
- run: npm ci --prefix "${{ env.WORKING_DIRECTORY }}"
- run: npm run build --prefix "${{ env.WORKING_DIRECTORY }}"
- run: npm test --prefix "${{ env.WORKING_DIRECTORY }}"