Skip to content

Commit

Permalink
Merge pull request #20 from zentered/upgrade-highlight
Browse files Browse the repository at this point in the history
fix: upgrade highlight version
  • Loading branch information
PatrickHeneise authored May 31, 2023
2 parents 8a0722a + 88f095f commit 87f045b
Show file tree
Hide file tree
Showing 10 changed files with 16,151 additions and 8,633 deletions.
11 changes: 4 additions & 7 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,21 +11,18 @@ jobs:

steps:
- uses: actions/checkout@v3
- uses: pnpm/[email protected]
with:
version: 'latest'
- uses: actions/setup-node@v3
with:
node-version: 18
cache: 'pnpm'
cache: 'npm'
- name: Install Dependencies
run: pnpm install
run: npm install

- name: Test
run: pnpm test
run: npm test

- name: Build
run: pnpm build
run: npm run build

- name: Semantic Release
run: npx semantic-release
Expand Down
11 changes: 4 additions & 7 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,18 +12,15 @@ jobs:

steps:
- uses: actions/checkout@v3
- uses: pnpm/[email protected]
with:
version: 'latest'
- uses: actions/setup-node@v3
with:
node-version: 18
cache: 'pnpm'
cache: 'npm'
- name: Install Dependencies
run: pnpm install
run: npm install

- name: Lint Code Base
run: pnpm lint
run: npm run lint

- name: Test
run: pnpm test
run: npm test
2 changes: 1 addition & 1 deletion .husky/post-merge
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

git diff-tree -r --name-only --no-commit-id ORIG_HEAD HEAD | grep package.json && pnpm install
git diff-tree -r --name-only --no-commit-id ORIG_HEAD HEAD | grep package.json && npm install
1 change: 1 addition & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
auto-install-peers=true
legacy-peer-deps=true
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -169,16 +169,16 @@ export async function getStaticProps(ctx) {
```bash
# build dist folder
pnpm build
npm build
# create system-wide link to project folder
pnpm link .
npm link
# in the website/next project folder
pnpm link @zentered/next-product-docs ../next-product-docs
npm link @zentered/next-product-docs ../next-product-docs
# for continous monitoring in next-product-docs
pnpm watch
npm run watch
```
## Additional Components
Expand Down
Loading

0 comments on commit 87f045b

Please sign in to comment.