From c4db2d699a14a549780c0d74904bab19bba3d96a Mon Sep 17 00:00:00 2001 From: Sean Fong Date: Mon, 30 Sep 2024 19:48:26 +0930 Subject: [PATCH] Create temp folder in workflow --- .github/workflows/check_ig_links.yml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/check_ig_links.yml b/.github/workflows/check_ig_links.yml index 6a4001f5..e6cc1695 100644 --- a/.github/workflows/check_ig_links.yml +++ b/.github/workflows/check_ig_links.yml @@ -16,8 +16,14 @@ jobs: with: node-version: 16 - - name: Install dependencies - run: npx playwright install --with-deps + - name: Create package.json + run: | + echo '{}' > package.json + + - name: Install Playwright + run: | + npm install @playwright/test # Install Playwright + npx playwright install --with-deps - name: Run Playwright link checks run: node checkIgLinks.js