From 1729cd21be6bb30515f0af342db936cc50445b70 Mon Sep 17 00:00:00 2001 From: Sergey Shorokhov Date: Thu, 24 Oct 2024 16:52:29 +0300 Subject: [PATCH] yarn -> npm --- .github/workflows/deploy.yml | 8 ++++---- .github/workflows/test-deploy.yml | 6 +++--- README.md | 2 +- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 5246a57..171bf4a 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -18,12 +18,12 @@ jobs: - uses: actions/setup-node@v4 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 - name: Upload Build Artifact uses: actions/upload-pages-artifact@v3 @@ -48,4 +48,4 @@ jobs: steps: - name: Deploy to GitHub Pages id: deployment - uses: actions/deploy-pages@v4 \ No newline at end of file + uses: actions/deploy-pages@v4 diff --git a/.github/workflows/test-deploy.yml b/.github/workflows/test-deploy.yml index d5feed2..f2546e5 100644 --- a/.github/workflows/test-deploy.yml +++ b/.github/workflows/test-deploy.yml @@ -18,9 +18,9 @@ jobs: - uses: actions/setup-node@v4 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 diff --git a/README.md b/README.md index 0c6c2c2..3930c26 100644 --- a/README.md +++ b/README.md @@ -19,7 +19,7 @@ This command starts a local development server and opens up a browser window. Mo ### Build ``` -$ yarn build +$ npm run build ``` This command generates static content into the `build` directory and can be served using any static contents hosting service.