From ad6ca5616b85fc789d759f2d359509e1a0b6cec1 Mon Sep 17 00:00:00 2001 From: villepynttari Date: Mon, 26 Aug 2024 09:59:05 +0300 Subject: [PATCH] Update ci.yml --- .github/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3d0e144..efb74f8 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -17,7 +17,7 @@ jobs: - uses: actions/checkout@main - uses: actions/setup-node@main with: - node-version: 16 + node-version: 20 cache: npm - run: npm ci - run: npm run check-style @@ -41,7 +41,7 @@ jobs: - run: npm ci - run: npm run build:ci env: - REACT_APP_SERVER_KEY: "${{ github.ref == 'refs/heads/main' && secrets.REACT_FRONTEND_VAPID_KEY_PRODUCTION || secrets.REACT_FRONTEND_VAPID_KEY_STAGING }}" + VITE_REACT_APP_SERVER_KEY: "${{ github.ref == 'refs/heads/main' && secrets.REACT_FRONTEND_VAPID_KEY_PRODUCTION || secrets.REACT_FRONTEND_VAPID_KEY_STAGING }}" - uses: actions/upload-artifact@main with: name: frontend-build