-
Notifications
You must be signed in to change notification settings - Fork 113
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 #205 from pplancq/feature/actionPublish
- Loading branch information
Showing
9 changed files
with
9,203 additions
and
3,778 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
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 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,49 @@ | ||
name: Release | ||
|
||
on: | ||
workflow_dispatch: | ||
|
||
permissions: | ||
contents: read | ||
|
||
env: | ||
HUSKY: 0 # for disable husky on ci | ||
|
||
jobs: | ||
release: | ||
if: github.event_name == 'workflow_dispatch' | ||
name: Release | ||
runs-on: ubuntu-latest | ||
permissions: | ||
contents: write | ||
issues: write | ||
pull-requests: write | ||
id-token: write | ||
|
||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
|
||
- name: Setup Node v20.x | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: 20.x | ||
|
||
# https://docs.npmjs.com/cli/v10/commands/npm-ci | ||
- name: Install Package | ||
run: npm ci | ||
|
||
- name: Build Project | ||
run: npm run build | ||
|
||
- name: Release | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
NPM_TOKEN: ${{ secrets.JEST_CUCUMBER_NPM_TOKEN }} | ||
GIT_AUTHOR_EMAIL: release[bot]@users.noreply.github.com | ||
GIT_AUTHOR_NAME: release[bot] | ||
GIT_COMMITTER_EMAIL: release[bot]@users.noreply.github.com | ||
GIT_COMMITTER_NAME: release[bot] | ||
run: npm run release |
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,27 @@ | ||
name: 'Close stale issues and PRs' | ||
|
||
on: | ||
schedule: | ||
- cron: '30 1 * * *' | ||
|
||
jobs: | ||
stale: | ||
runs-on: ubuntu-latest | ||
permissions: | ||
pull-requests: write | ||
issues: write | ||
|
||
steps: | ||
- uses: actions/stale@v9 | ||
with: | ||
days-before-stale: 60 | ||
days-before-close: 7 | ||
# issue | ||
exempt-issue-labels: 'enhancement,bug,needs examples,needs documentation,work-in-progress' | ||
stale-issue-message: 'This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.' | ||
close-issue-message: 'This issue is closed because there has been no recent activity.' | ||
# pr | ||
exempt-pr-labels: 'dependencies,enhancement,bug,needs examples,needs documentation,work-in-progress' | ||
stale-pr-message: 'This PR has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.' | ||
close-pr-message: 'This PR is closed because there has been no recent activity.' | ||
exempt-draft-pr: true |
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,5 +1,15 @@ | ||
.github/ | ||
.husky/ | ||
.vscode/ | ||
coverage/ | ||
docs/ | ||
examples/ | ||
src/ | ||
images/ | ||
.vscode/ | ||
tsconfig.json | ||
specs/ | ||
src/ | ||
.editorconfig | ||
.gitattributes | ||
.tool-versions | ||
CODE_OF_CONDUCT.md | ||
CONTRIBUTING.md | ||
tsconfig.json |
Oops, something went wrong.