Merge pull request #2 from Sans-arch/features #7
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 app | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
jobs: | |
build-app-react: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Using Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 20. | |
- name: run install, build | |
run: | | |
npm install | |
npm run build |