From 78129d66add89b7ae74fecae6e7b6de8eddd8b2e Mon Sep 17 00:00:00 2001 From: Oleg Kostromin Date: Mon, 25 Dec 2023 18:04:46 +0100 Subject: [PATCH] update workflow --- .github/workflows/deploy.yml | 6 +++--- .github/workflows/test-deploy.yml | 8 ++++---- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index c4f52d9..bb537bf 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -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.yml b/.github/workflows/test-deploy.yml index b311453..e9f096b 100644 --- a/.github/workflows/test-deploy.yml +++ b/.github/workflows/test-deploy.yml @@ -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 - - name: Test build website - run: yarn build + run: npm ci + - name: Build website + run: npm run build