From 2aefe36e7087de4e03d295cdabef1e64000967b0 Mon Sep 17 00:00:00 2001 From: NebelFox Date: Sat, 4 Nov 2023 21:36:06 +0200 Subject: [PATCH] Update actions to use npm instead of yarn --- .github/workflows/deploy.yaml | 6 +++--- .github/workflows/test-deploy.yaml | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/deploy.yaml b/.github/workflows/deploy.yaml index 418684c..9be6602 100644 --- a/.github/workflows/deploy.yaml +++ b/.github/workflows/deploy.yaml @@ -19,12 +19,12 @@ jobs: - uses: actions/setup-node@v3 with: node-version: 18 - cache: yarn + cache: npm - name: Install dependencies - run: yarn install --frozen-lockfile + run: npm ci - name: Build website - run: yarn build + run: npm run build # Popular action to deploy to GitHub Pages: # Docs: https://github.com/peaceiris/actions-gh-pages#%EF%B8%8F-docusaurus diff --git a/.github/workflows/test-deploy.yaml b/.github/workflows/test-deploy.yaml index b7e9a87..8243ec9 100644 --- a/.github/workflows/test-deploy.yaml +++ b/.github/workflows/test-deploy.yaml @@ -16,9 +16,9 @@ jobs: - uses: actions/setup-node@v3 with: node-version: 18 - cache: yarn + cache: npm - name: Install dependencies - run: yarn install --frozen-lockfile + run: npm ci - name: Test build website - run: yarn build \ No newline at end of file + run: npm run build \ No newline at end of file