From 5a98fa9aa4c0e3c9423f7692c411c9e251ec5812 Mon Sep 17 00:00:00 2001 From: Alex S Date: Tue, 28 Sep 2021 14:14:36 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=A4=96=20execute=20la=20commande=20de=20n?= =?UTF-8?q?ettoyage=20avec=20le=20code.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Il faut checkout le code pour l'executer. Co-authored-by: Alexandre Valsamou-Stanislawski --- .github/workflows/pr-cleanup.yaml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.github/workflows/pr-cleanup.yaml b/.github/workflows/pr-cleanup.yaml index 10d342307..d5add7215 100644 --- a/.github/workflows/pr-cleanup.yaml +++ b/.github/workflows/pr-cleanup.yaml @@ -16,6 +16,18 @@ jobs: needs: deploy-context runs-on: ubuntu-18.04 steps: + - uses: actions/checkout@v2 + - uses: actions/cache@v2 + with: + path: '**/node_modules' + key: ${{ runner.os }}-modules-${{ hashFiles('**/yarn.lock') }}-v2 + - run: yarn install --frozen-lockfile + env: + # Secrets of all kinds for fetching stats & releases + GITHUB_API_SECRET: ${{ secrets.GITHUB_TOKEN }} + ZAMMAD_API_SECRET_KEY: ${{ secrets.ZAMMAD_API_SECRET_KEY }} + ATINTERNET_API_SECRET_KEY: ${{ secrets.ATINTERNET_API_SECRET_KEY }} + ATINTERNET_API_ACCESS_KEY: ${{ secrets.ATINTERNET_API_ACCESS_KEY }} - name: Remove temporary algolia index run: yarn workspace mon-entreprise algolia:clean env: