Skip to content

Commit 6138e7a

Browse files
authored
environment isolation in ci
Signed-off-by: Damian Perera <15967502+damianperera@users.noreply.github.com>
1 parent 5afeae3 commit 6138e7a

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/workflows/ci.yml

+8
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ on:
1010
jobs:
1111
jest:
1212
name: '[FE] Test'
13+
environment:
14+
name: ${{ github.ref_name }}
1315
runs-on: ubuntu-latest
1416
steps:
1517
- uses: actions/checkout@main
@@ -34,6 +36,8 @@ jobs:
3436
run: yarn test
3537
lint:
3638
name: '[FE] Lint'
39+
environment:
40+
name: ${{ github.ref_name }}
3741
runs-on: ubuntu-latest
3842
steps:
3943
- uses: actions/checkout@main
@@ -58,6 +62,8 @@ jobs:
5862
run: yarn lint
5963
react-build:
6064
name: '[FE] Test Build'
65+
environment:
66+
name: ${{ github.ref_name }}
6167
runs-on: ubuntu-latest
6268
steps:
6369
- uses: actions/checkout@main
@@ -82,6 +88,8 @@ jobs:
8288
run: yarn build
8389
pytest:
8490
name: '[BE] Test'
91+
environment:
92+
name: ${{ github.ref_name }}
8593
runs-on: ubuntu-latest
8694
steps:
8795
- uses: actions/checkout@main

0 commit comments

Comments
 (0)