-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
changed/added: renamed rust workflow; added react workflow
- Loading branch information
1 parent
891b64f
commit 9c2d732
Showing
2 changed files
with
36 additions
and
1 deletion.
There are no files selected for viewing
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
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 }} | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
name: "Test" | ||
name: "RustTest" | ||
|
||
on: | ||
pull_request: | ||
|