Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: Test Docusaurus webpack 5 support #616

Closed
wants to merge 10 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 14 additions & 3 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,15 @@ jobs:

steps:
- checkout
- run:
name: Create Date Weekly File
command: |
date +%Y-%W > date-week.txt
echo "Date week: $(cat date-week.txt)"
- restore_cache:
key: npm-cache-v2-{{ checksum "package-lock.json" }}
- restore_cache:
key: npm-cache-v1-{{ checksum "package-lock.json" }}
key: node-cache-v1-{{ checksum "date-week.txt" }}
- run:
name: Setup Node
command: |
Expand Down Expand Up @@ -58,9 +65,13 @@ jobs:
- store_artifacts:
path: build-site.tar.gz
- save_cache:
key: npm-cache-v1-{{ checksum "package-lock.json" }}
key: npm-cache-v2-{{ checksum "package-lock.json" }}
paths:
- ~/.npm
- save_cache:
key: node-cache-v1-{{ checksum "date-week.txt" }}
paths:
- node_modules
- node_modules/.cache
- persist_to_workspace:
# Must be an absolute path, or relative path from working_directory. This is a directory on the container which is
# taken to be the root directory of the workspace.
Expand Down
Loading