Skip to content

Commit

Permalink
Update Algolia DocSearch API Key and all dependencies (#91)
Browse files Browse the repository at this point in the history
* Update Algolia configuration

* Simplify GitHub Actions workflow

* Update all packages
  • Loading branch information
pkosiec authored Jan 13, 2022
1 parent 196210c commit 1192f21
Show file tree
Hide file tree
Showing 6 changed files with 7,040 additions and 11,524 deletions.
13 changes: 2 additions & 11 deletions .github/workflows/branch-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,17 +23,8 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v2
with:
node-version: '16.x'

- name: Cache dependencies
uses: actions/cache@v2
with:
path: ~/.npm
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-build-${{ env.cache-name }}-
${{ runner.os }}-build-
${{ runner.os }}-
node-version: '17.x'
cache: 'npm'

- name: Install dependencies
run: npm install
Expand Down
13 changes: 2 additions & 11 deletions .github/workflows/pr-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -94,17 +94,8 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v2
with:
node-version: '16.x'

- name: Cache dependencies
uses: actions/cache@v2
with:
path: ~/.npm
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-build-${{ env.cache-name }}-
${{ runner.os }}-build-
${{ runner.os }}-
node-version: '17.x'
cache: 'npm'

- name: Install dependencies
run: npm install
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ This website is built using [Docusaurus 2](https://docusaurus.io/), a modern sta

To get started with the development, install the following dependencies:

- [Node 16 and NPM 7](https://nodejs.org)
- [Node 17 and NPM 8](https://nodejs.org)

### Installation

Expand Down
3 changes: 2 additions & 1 deletion docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@ module.exports = {
respectPrefersColorScheme: true,
},
algolia: {
apiKey: "43ffd9615b1dd6ac0f6f9987e624d73d",
appId: "TS68LPSTRZ",
apiKey: "d1d582d9b2ecb80fc268594a6c1b0685",
indexName: "capact",
contextualSearch: true,
},
Expand Down
Loading

0 comments on commit 1192f21

Please sign in to comment.