From 126a7561d8643bbe547c8197a78f0f881aae09bf Mon Sep 17 00:00:00 2001 From: rjshrjndrn Date: Fri, 24 Jun 2022 12:19:00 +0200 Subject: [PATCH] ci(frontend): removed npm caching from host As the build is happening in container. Signed-off-by: rjshrjndrn --- .github/workflows/frontend.yaml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/frontend.yaml b/.github/workflows/frontend.yaml index e4942830b..59e4d5578 100644 --- a/.github/workflows/frontend.yaml +++ b/.github/workflows/frontend.yaml @@ -14,14 +14,14 @@ jobs: - name: Checkout uses: actions/checkout@v2 - - name: Cache node modules - uses: actions/cache@v1 - with: - path: node_modules - key: ${{ runner.OS }}-build-${{ hashFiles('**/package-lock.json') }} - restore-keys: | - ${{ runner.OS }}-build- - ${{ runner.OS }}- + - name: Docker login + run: | + docker login ${{ secrets.EE_REGISTRY_URL }} -u ${{ secrets.EE_DOCKER_USERNAME }} -p "${{ secrets.EE_REGISTRY_TOKEN }}" + + # Caching docker images + - uses: satackey/action-docker-layer-caching@v0.0.11 + # Ignore the failure of a step and avoid terminating the job. + continue-on-error: true - uses: azure/k8s-set-context@v1 with: