This repository has been archived by the owner on Jan 10, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(client): removed bad component
- Loading branch information
Showing
4 changed files
with
40 additions
and
30 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
# 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: | ||
DOTNET_CORE_VERSION: 8.0.x | ||
WORKING_DIRECTORY: ./src/EducationTrail/ClientApp | ||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
# omits 14.x because some of our devDependencies require 16.x or higher | ||
node-version: [18.x, 20.x] | ||
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/ | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Setup .NET | ||
uses: actions/setup-dotnet@v3 | ||
with: | ||
dotnet-version: ${{ env.DOTNET_CORE_VERSION }} | ||
- name: Use Node.js ${{ matrix.node-version }} | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: ${{ matrix.node-version }} | ||
cache: "npm" | ||
- name: Generate and Install ASP.NET Cert | ||
run: | | ||
dotnet dev-certs https --clean | ||
dotnet dev-certs https --export-path ~/.aspnet/https --format Pem --no-password | ||
- name: Test vite+react Project | ||
run: | | ||
npm ci --prefix "${{ env.WORKING_DIRECTORY }}" | ||
npm run build --prefix "${{ env.WORKING_DIRECTORY }}" |
Empty file.
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