yarn -> npm

This commit is contained in:
Sergey Shorokhov 2024-10-24 16:52:29 +03:00
parent 762e1bd141
commit 1729cd21be
3 changed files with 8 additions and 8 deletions

View File

@ -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

View File

@ -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
run: npm run build

View File

@ -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.