Skip to content

Commit ce02805

Browse files
authored
try 2 Update main.yml
1 parent 60f9887 commit ce02805

File tree

1 file changed

+3
-15
lines changed

1 file changed

+3
-15
lines changed

.github/workflows/main.yml

Lines changed: 3 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -11,30 +11,18 @@ jobs:
1111
- run: npm test
1212
staging:
1313
runs-on: ubuntu-latest
14+
needs: dev
1415
steps:
1516
- uses: actions/checkout@v2
1617
- uses: actions/setup-node@v1
1718
- run: npm install
1819
- run: npm test
1920
prod:
2021
runs-on: ubuntu-latest
22+
needs: staging
2123
steps:
2224
- uses: actions/checkout@v2
2325
- uses: actions/setup-node@v1
2426
- run: npm install
2527
- run: npm test
26-
terraform:
27-
runs-on: ubuntu-latest
28-
29-
strategy:
30-
matrix:
31-
environment: [dev, staging, prod]
32-
33-
steps:
34-
- name: Checkout code
35-
uses: actions/checkout@v2
36-
37-
- name: Setup Terraform
38-
uses: hashicorp/setup-terraform@v2
39-
with:
40-
terraform_version: 1.4.0
28+

0 commit comments

Comments
 (0)