From e1cd3cd0f3fa233ee6722eeb8570cb713bf00453 Mon Sep 17 00:00:00 2001 From: Stefano Verna Date: Wed, 6 Nov 2024 09:15:15 +0100 Subject: [PATCH] Fix actions --- .github/workflows/code-quality.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/code-quality.yml b/.github/workflows/code-quality.yml index 7fbfff39..c96c9f86 100644 --- a/.github/workflows/code-quality.yml +++ b/.github/workflows/code-quality.yml @@ -9,6 +9,9 @@ jobs: name: Code Quality runs-on: ubuntu-latest + env: + DATOCMS_API_TOKEN: ${{ secrets.DATOCMS_API_TOKEN }} + steps: - name: Checkout code uses: actions/checkout@v4 @@ -16,7 +19,7 @@ jobs: - name: Setup Node.js uses: actions/setup-node@v4 with: - node-version: 18 + node-version: 20 cache: 'npm' - name: Install dependencies @@ -24,3 +27,5 @@ jobs: - name: Lint run: npm run lint + env: + DATOCMS_API_TOKEN: ${{ secrets.DATOCMS_API_TOKEN }}