Skip to content

Commit

Permalink
migrate to yarn and move to workspace
Browse files Browse the repository at this point in the history
  • Loading branch information
EwanLyon committed Jan 2, 2024
1 parent 2849482 commit 0b7455c
Show file tree
Hide file tree
Showing 43 changed files with 8,561 additions and 25,267 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,12 @@ jobs:
- uses: actions/setup-node@v3
with:
node-version: 18
cache: npm
cache: yarn

- name: Install dependencies
run: npm ci
run: yarn install --frozen-lockfile
- name: Build website
run: npm run build
run: yarn run build:website

# Popular action to deploy to GitHub Pages:
# Docs: https://github.com/peaceiris/actions-gh-pages#%EF%B8%8F-docusaurus
Expand All @@ -30,7 +30,7 @@ jobs:
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
# Build output to publish to the `gh-pages` branch:
publish_dir: ./build
publish_dir: ./website/build
# The following lines assign commit authorship to the official
# GH-Actions bot for deploys to `gh-pages` branch:
# https://github.com/actions/checkout/issues/13#issuecomment-724415212
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/test-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ jobs:
- uses: actions/setup-node@v3
with:
node-version: 18
cache: npm
cache: yarn

- name: Install dependencies
run: npm ci
run: yarn install --frozen-lockfile
- name: Test build website
run: npm run build
run: yarn run build:website
5 changes: 3 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# Dependencies
/node_modules
node_modules

# Production
/build
build

# Generated files
.docusaurus
Expand All @@ -18,3 +18,4 @@
npm-debug.log*
yarn-debug.log*
yarn-error.log*
.vscode/*
5 changes: 0 additions & 5 deletions .vscode/settings.json

This file was deleted.

Loading

0 comments on commit 0b7455c

Please sign in to comment.