Skip to content

Commit

Permalink
changed/added: renamed rust workflow; added react workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
SaschaRaeschThreedy committed Aug 21, 2023
1 parent 891b64f commit 9c2d732
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 1 deletion.
35 changes: 35 additions & 0 deletions .github/workflows/react_test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: "ReactTest"

on:
pull_request:

env:
working-directory: "./movies-db-ui"

jobs:
build:
name: "Build React"
runs-on: ubuntu-latest

steps:
- name: "Check out the repo"
uses: actions/checkout@v3

- name: Install Node.js
uses: actions/setup-node@v1
with:
node-version: "12.x"

- name: Install dependencies
run: npm install
working-directory: ${{ env.working-directory }}

# Deactivate tests for now as there seems to be an issue with jest and css-tools
# - name: Run the tests
# run: npm test
# working-directory: ${{ env.working-directory }}

- name: Build React App
run: npm run build
working-directory: ${{ env.working-directory }}

Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: "Test"
name: "RustTest"

on:
pull_request:
Expand Down

0 comments on commit 9c2d732

Please sign in to comment.