-
Notifications
You must be signed in to change notification settings - Fork 82
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
8 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,6 +14,12 @@ jobs: | |
- name: Checkout code | ||
uses: actions/checkout@v3 | ||
|
||
- name: Configure Git for HTTPS | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
run: | | ||
git config --global url."https://[email protected]/".insteadOf "ssh://[email protected]/" | ||
# Step 2: Set up Node.js | ||
- name: Set up Node.js | ||
uses: actions/setup-node@v4 | ||
|
@@ -28,11 +34,11 @@ jobs: | |
|
||
# Step 5: Build the library with pnpm | ||
- name: Build ng-mdx | ||
run: pnpm run lib.build | ||
run: npm run lib.build | ||
|
||
# Step 6: Copy the root README.md to the library folder | ||
- name: Copy README.md to library folder | ||
run: cp README.md dist/ngx-md/README.md | ||
|
||
- name: Publish to npm | ||
run: npm Publish | ||
run: npm publish dist/ngx-md |