-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #31 from DiFuks/support-typedoc-0-25
Support typedoc 0.26
- Loading branch information
Showing
45 changed files
with
4,961 additions
and
5,413 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 |
---|---|---|
@@ -0,0 +1 @@ | ||
../packages/plugin/LICENSE.md |
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
../packages/plugin/README.md |
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 |
---|---|---|
@@ -1,53 +1,89 @@ | ||
name: Publish to npm | ||
name: Build and Publish | ||
|
||
on: | ||
push: | ||
branches: | ||
- master | ||
on: push | ||
|
||
jobs: | ||
build-and-publish: | ||
runs-on: ubuntu-latest | ||
defaults: | ||
run: | ||
working-directory: ./packages/plugin | ||
env: | ||
NPM_DIFUKS_TOKEN: ${{ secrets.NPM_DIFUKS_TOKEN }} | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
- uses: actions/checkout@v4 | ||
with: | ||
token: ${{ secrets.PERSONAL_TOKEN }} | ||
fetch-depth: 0 | ||
|
||
- name: Cache yarn | ||
uses: actions/cache@v3 | ||
# for yarn version check | ||
- if: github.ref != 'refs/heads/master' | ||
run: | | ||
git fetch --unshallow origin master | ||
- uses: actions/setup-node@v4 | ||
with: | ||
path: | | ||
.yarn/cache | ||
.yarn/install-state.gz | ||
key: ${{ runner.os }}-yarn-${{ github.sha }} | ||
restore-keys: | | ||
${{ runner.os }}-yarn- | ||
node-version-file: .nvmrc | ||
cache: yarn | ||
cache-dependency-path: yarn.lock | ||
|
||
- name: Install modules | ||
run: yarn install | ||
run: yarn | ||
|
||
- name: Build libs | ||
- name: Build plugin | ||
run: yarn build | ||
|
||
- name: Eslint | ||
- name: Lint plugin | ||
run: yarn lint | ||
|
||
- name: Check packages versions | ||
if: github.ref != 'refs/heads/master' | ||
run: yarn version check | ||
|
||
- name: Apply versions | ||
if: github.ref == 'refs/heads/master' | ||
run: yarn version apply | ||
|
||
- name: Publish package | ||
if: github.ref == 'refs/heads/master' | ||
run: yarn npm publish --tolerate-republish | ||
|
||
- uses: stefanzweifel/git-auto-commit-action@v4 | ||
- uses: stefanzweifel/git-auto-commit-action@v5 | ||
if: github.ref == 'refs/heads/master' | ||
with: | ||
commit_message: | | ||
ci: Release packages | ||
[skip ci] | ||
- name: Get package version | ||
if: github.ref == 'refs/heads/master' | ||
id: package-version | ||
uses: martinbeentjes/[email protected] | ||
with: | ||
path: packages/plugin | ||
|
||
- uses: stefanzweifel/git-auto-commit-action@v5 | ||
if: github.ref == 'refs/heads/master' | ||
with: | ||
tagging_message: v${{ steps.package-version.outputs.current-version }} | ||
commit_message: | | ||
ci: Release packages | ||
[skip ci] | ||
- name: Get pull request info | ||
if: github.ref == 'refs/heads/master' | ||
id: pull-request-info | ||
uses: actions-ecosystem/[email protected] | ||
with: | ||
github_token: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
- uses: ncipollo/release-action@v1 | ||
id: create-release | ||
if: github.ref == 'refs/heads/master' | ||
with: | ||
skipIfReleaseExists: true | ||
makeLatest: true | ||
name: Release ${{ steps.package-version.outputs.current-version }} | ||
body: ${{ steps.pull-request-info.outputs.body }} | ||
tag: v${{ steps.package-version.outputs.current-version }} |
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 |
---|---|---|
|
@@ -4,6 +4,7 @@ docs | |
.idea/ | ||
.pnp.* | ||
.yarn/* | ||
node_modules | ||
!.yarn/patches | ||
!.yarn/plugins | ||
!.yarn/releases | ||
|
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
v20.13.0 |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
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 |
---|---|---|
@@ -0,0 +1,2 @@ | ||
releases: | ||
typedoc-theme-hierarchy: major |
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
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.