From 94e38a0a2bd9682bb28bf7aadea209ed1de31eb2 Mon Sep 17 00:00:00 2001 From: kuco23 Date: Thu, 13 Jun 2024 19:54:11 +0200 Subject: [PATCH] apply github actions fix https://github.com/actions/setup-node/issues/1075#issuecomment-2165643488 --- .github/workflows/deploy-site.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/deploy-site.yml b/.github/workflows/deploy-site.yml index 0287a82..7895ee7 100644 --- a/.github/workflows/deploy-site.yml +++ b/.github/workflows/deploy-site.yml @@ -10,12 +10,17 @@ jobs: steps: - name: git checkout uses: actions/checkout@v4 - - name: Enable Corepack before setting up Node + - name: Setup target Node.js to enable Corepack + uses: actions/setup-node@v4 + with: + node-version: 16 + - name: Enable Corepack run: corepack enable - name: setup Node.js uses: actions/setup-node@v1 with: - node-version: 16.x + node-version: 16 + cache: yarn - run: yarn - run: yarn frontend-build - name: deploy page