Merge pull request #689 from akunzai/dependabot/npm_and_yarn/samples/… #208
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: Build React Sample Client | |
on: | |
push: | |
branches: | |
- main | |
paths: | |
- 'samples/AspNetCoreReactSample/ClientApp/**' | |
pull_request: | |
branches: | |
- main | |
paths: | |
- 'samples/AspNetCoreReactSample/ClientApp/**' | |
permissions: read-all | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Build | |
run: | | |
corepack enable | |
cd samples/AspNetCoreReactSample/ClientApp | |
pnpm install | |
pnpm lint | |
pnpm build |