This repository has been archived by the owner on Sep 29, 2024. It is now read-only.
Merge pull request #6 from SE-TINF22B6/dependabot/npm_and_yarn/src/ma… #9
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 CI | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Repository | |
uses: actions/checkout@v2 | |
- name: Set up Node.js | |
uses: actions/setup-node@v2 | |
with: | |
node-version: 14 | |
- name: Install Dependencies | |
run: npm install | |
- name: Build React App | |
run: npm run build | |
- name: Upload Artifacts | |
uses: actions/upload-artifact@v2 | |
with: | |
name: react-app | |
path: build | |
# Weitere Schritte für Tests und Linting können hier hinzugefügt werden. |