Gave workflow a more fitting name
This commit is contained in:
+7
-7
@@ -1,4 +1,4 @@
|
|||||||
name: Full Test and Deploy
|
name: Full Build and Deploy
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
@@ -6,7 +6,7 @@ on:
|
|||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
frontend-test:
|
frontend-build:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
defaults:
|
defaults:
|
||||||
run:
|
run:
|
||||||
@@ -32,7 +32,7 @@ jobs:
|
|||||||
- name: Run Tests
|
- name: Run Tests
|
||||||
run: npm test -- --watchAll=false
|
run: npm test -- --watchAll=false
|
||||||
|
|
||||||
go-test:
|
go-build:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
@@ -51,7 +51,7 @@ jobs:
|
|||||||
- name: Deploy placeholder
|
- name: Deploy placeholder
|
||||||
run: echo "Deploy the Go function to AWS Lambda from this step."
|
run: echo "Deploy the Go function to AWS Lambda from this step."
|
||||||
|
|
||||||
rust-test:
|
rust-build:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
@@ -68,7 +68,7 @@ jobs:
|
|||||||
- name: Deploy placeholder
|
- name: Deploy placeholder
|
||||||
run: echo "Deploy the Rust function to AWS Lambda from this step."
|
run: echo "Deploy the Rust function to AWS Lambda from this step."
|
||||||
|
|
||||||
python-test:
|
python-build:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
@@ -87,10 +87,10 @@ jobs:
|
|||||||
- name: Deploy placeholder
|
- name: Deploy placeholder
|
||||||
run: echo "Deploy the Python function to AWS Lambda with Mangum from this step."
|
run: echo "Deploy the Python function to AWS Lambda with Mangum from this step."
|
||||||
|
|
||||||
# Deployment (Waits for manual approval after all test jobs pass)
|
# Deployment (Waits for manual approval after all build jobs pass)
|
||||||
deploy:
|
deploy:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
needs: [frontend-test, go-test, rust-test, python-test]
|
needs: [frontend-build, go-build, rust-build, python-build]
|
||||||
environment: production
|
environment: production
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
Reference in New Issue
Block a user