diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index c4f52d9..7062149 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 install --frozen-lockfile - 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..23d6323 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 + run: npm install --frozen-lockfile - name: Test build website - run: yarn build + run: npm run build diff --git a/README.md b/README.md index 4946716..9610d11 100644 --- a/README.md +++ b/README.md @@ -5,13 +5,13 @@ This website is built using [Docusaurus 2](https://docusaurus.io/), a modern sta ### Installation ``` -$ yarn +$ npm i ``` ### Local Development ``` -$ yarn start +$ npm start ``` This command starts a local development server and opens up a browser window. Most changes are reflected live without having to restart the server. @@ -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. @@ -29,11 +29,11 @@ This command generates static content into the `build` directory and can be serv Using SSH: ``` -$ USE_SSH=true yarn deploy +$ USE_SSH=true npm run deploy ``` Not using SSH: ``` -$ GIT_USER= yarn deploy +$ GIT_USER= npm run deploy ```