|
|
@ -17,6 +17,7 @@ jobs:
|
|
|
|
- uses: actions/setup-node@v3
|
|
|
|
- uses: actions/setup-node@v3
|
|
|
|
with:
|
|
|
|
with:
|
|
|
|
node-version: 16
|
|
|
|
node-version: 16
|
|
|
|
|
|
|
|
registry-url: 'https://registry.npmjs.org'
|
|
|
|
|
|
|
|
|
|
|
|
# - name: Cache dependencies
|
|
|
|
# - name: Cache dependencies
|
|
|
|
# uses: actions/cache@v1
|
|
|
|
# uses: actions/cache@v1
|
|
|
@ -27,7 +28,7 @@ jobs:
|
|
|
|
# ${{ runner.os }}-node-
|
|
|
|
# ${{ runner.os }}-node-
|
|
|
|
|
|
|
|
|
|
|
|
- name: Look Changelog
|
|
|
|
- name: Look Changelog
|
|
|
|
uses: jaywcjlove/changelog-generator@v1.4.8
|
|
|
|
uses: jaywcjlove/changelog-generator@main
|
|
|
|
with:
|
|
|
|
with:
|
|
|
|
token: ${{ secrets.GITHUB_TOKEN }}
|
|
|
|
token: ${{ secrets.GITHUB_TOKEN }}
|
|
|
|
filter-author: (jaywcjlove|小弟调调™|dependabot\[bot\]|Renovate Bot)
|
|
|
|
filter-author: (jaywcjlove|小弟调调™|dependabot\[bot\]|Renovate Bot)
|
|
|
@ -37,9 +38,6 @@ jobs:
|
|
|
|
- run: npm run build
|
|
|
|
- run: npm run build
|
|
|
|
- run: npm run test
|
|
|
|
- run: npm run test
|
|
|
|
|
|
|
|
|
|
|
|
- run: npm install @jsdevtools/npm-publish -g
|
|
|
|
|
|
|
|
- run: npm-publish --token="${{ secrets.NPM_TOKEN }}" ./package.json
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- name: Generate Contributors Images
|
|
|
|
- name: Generate Contributors Images
|
|
|
|
uses: jaywcjlove/github-action-contributors@main
|
|
|
|
uses: jaywcjlove/github-action-contributors@main
|
|
|
|
with:
|
|
|
|
with:
|
|
|
@ -49,13 +47,13 @@ jobs:
|
|
|
|
|
|
|
|
|
|
|
|
- name: Create Tag
|
|
|
|
- name: Create Tag
|
|
|
|
id: create_tag
|
|
|
|
id: create_tag
|
|
|
|
uses: jaywcjlove/create-tag-action@v1.3.6
|
|
|
|
uses: jaywcjlove/create-tag-action@main
|
|
|
|
with:
|
|
|
|
with:
|
|
|
|
package-path: ./package.json
|
|
|
|
package-path: ./package.json
|
|
|
|
|
|
|
|
|
|
|
|
- name: get tag version
|
|
|
|
- name: get tag version
|
|
|
|
id: tag_version
|
|
|
|
id: tag_version
|
|
|
|
uses: jaywcjlove/changelog-generator@v1.5.3
|
|
|
|
uses: jaywcjlove/changelog-generator@main
|
|
|
|
|
|
|
|
|
|
|
|
- name: Build and Deploy
|
|
|
|
- name: Build and Deploy
|
|
|
|
uses: peaceiris/actions-gh-pages@v3
|
|
|
|
uses: peaceiris/actions-gh-pages@v3
|
|
|
@ -66,7 +64,7 @@ jobs:
|
|
|
|
|
|
|
|
|
|
|
|
- name: Generate Changelog
|
|
|
|
- name: Generate Changelog
|
|
|
|
id: changelog
|
|
|
|
id: changelog
|
|
|
|
uses: jaywcjlove/changelog-generator@v1.5.3
|
|
|
|
uses: jaywcjlove/changelog-generator@main
|
|
|
|
with:
|
|
|
|
with:
|
|
|
|
token: ${{ secrets.GITHUB_TOKEN }}
|
|
|
|
token: ${{ secrets.GITHUB_TOKEN }}
|
|
|
|
filter-author: (jaywcjlove|小弟调调™|dependabot\[bot\]|Renovate Bot)
|
|
|
|
filter-author: (jaywcjlove|小弟调调™|dependabot\[bot\]|Renovate Bot)
|
|
|
@ -95,3 +93,11 @@ jobs:
|
|
|
|
```
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
${{ steps.changelog.outputs.changelog }}
|
|
|
|
${{ steps.changelog.outputs.changelog }}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# - run: npm install @jsdevtools/npm-publish -g
|
|
|
|
|
|
|
|
# - run: npm-publish --token="${{ secrets.NPM_TOKEN }}" ./package.json
|
|
|
|
|
|
|
|
- run: npm publish --access public
|
|
|
|
|
|
|
|
name: 📦 hotkeys-js to NPM
|
|
|
|
|
|
|
|
continue-on-error: true
|
|
|
|
|
|
|
|
env:
|
|
|
|
|
|
|
|
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|