-
Notifications
You must be signed in to change notification settings - Fork 0
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
4 changed files
with
54 additions
and
1 deletion.
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 @@ | ||
ko_fi: garlicteam |
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,12 @@ | ||
**Please describe the changes this PR makes and why it should be merged:** | ||
|
||
|
||
**Status and versioning classification:** | ||
|
||
<!-- | ||
Please move lines that apply to you out of the comment: | ||
- I know how to update typings and have done so, or typings don't need updating | ||
- This PR changes the library's interface (methods or parameters added) | ||
- This PR includes breaking changes (methods removed or renamed, parameters moved or removed) | ||
- This PR **only** includes non-code changes, like changes to documentation, README, etc. | ||
--> |
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,40 @@ | ||
name: "Release" | ||
|
||
on: [workflow_dispatch] | ||
|
||
jobs: | ||
release: | ||
name: publish | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: checkout | ||
uses: actions/checkout@v2 | ||
- name: node | ||
uses: actions/setup-node@v2 | ||
with: | ||
node-version: 12 | ||
registry-url: https://registry.npmjs.org/ | ||
|
||
- name: Install | ||
run: npm install ci | ||
|
||
- name: build | ||
run: npm run build | ||
|
||
- name: Get version & asign | ||
id: get_version | ||
run: | | ||
variable=$(jq --raw-output '.version' package.json) | ||
echo ::set-output name=version::$variable | ||
- name: Publish releases | ||
uses: ncipollo/release-action@v1 | ||
with: | ||
tag: ${{ steps.get_version.outputs.version }} | ||
name: ${{ steps.get_version.outputs.version }} | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
- name: Publish NPM | ||
run: npm publish --access public | ||
env: | ||
NODE_AUTH_TOKEN: ${{secrets.NPM_AUTH_TOKEN}} |
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