From 560d830eb3d34e603d7fcbfac738c8b64587ad9a Mon Sep 17 00:00:00 2001 From: Achmad Adhikara <44716348+adhikara13@users.noreply.github.com> Date: Sat, 16 Dec 2023 22:44:17 +0000 Subject: [PATCH] fix: fix again main.yml --- .github/workflows/main.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index a56fccb..892cb47 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -6,6 +6,7 @@ on: push: branches: - main + jobs: fetch-and-save-data: runs-on: ubuntu-latest @@ -20,7 +21,7 @@ jobs: node-version: 14 - name: Install Dependencies - run: npm install + run: npm install node-fetch - name: Fetch and Save Data run: | @@ -37,4 +38,3 @@ jobs: console.error('Error fetching data:', error); \ process.exit(1); \ })" -