Skip to content

Commit b790592

Browse files
authored
Releases/v2 (#35)
* release v2 * skip npm i on release integration tests * double brackets * head ref * base ref check * no symlinks
1 parent 687ece0 commit b790592

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.github/workflows/integration-tests.yml

+6-2
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ jobs:
88
runs-on: ubuntu-latest
99
env:
1010
KUBECONFIG: /home/runner/.kube/config
11+
PR_BASE_REF: ${{ github.event.pull_request.base.ref }}
1112
steps:
1213
- id: setup-minikube
1314
name: Setup Minikube
@@ -20,8 +21,11 @@ jobs:
2021
- id: action-npm-build
2122
name: npm install and build
2223
run: |
23-
npm install
24-
npm run build
24+
echo $PR_BASE_REF
25+
if [[ $PR_BASE_REF != releases/* ]]; then
26+
npm install
27+
npm run build
28+
fi
2529
- id: call-create-secret
2630
name: execute k8s-create-secret
2731
uses: ./

0 commit comments

Comments
 (0)