Merge pull request #55 from oss-slu/donatedItem-update #37
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: React Client CI | |
on: | |
push: | |
branches: main | |
paths: | |
- 'client-app/**' | |
- '.github/workflows/**' | |
pull_request: | |
branches: main | |
paths: | |
- 'client-app/**' | |
- '.github/workflows/**' | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Use Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: '20.x' | |
- run: cd client-app && npm install | |
- run: cd client-app && npm test | |
env: | |
CI: true |