aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwabilin <[email protected]>2021-12-25 20:16:35 +0900
committerwabilin <[email protected]>2021-12-25 20:16:35 +0900
commit0fe35b0d473003a904ccbe7838a49d235dd54399 (patch)
treedf49d93321fdbcd3f5b64e477650a098e53669e4
parentfix: package repository config (diff)
downloadholo-schedule-0fe35b0d473003a904ccbe7838a49d235dd54399.tar.xz
holo-schedule-0fe35b0d473003a904ccbe7838a49d235dd54399.zip
chore: add release workflow
-rw-r--r--.github/workflows/release.yml20
1 files changed, 20 insertions, 0 deletions
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
new file mode 100644
index 0000000..6fa6eab
--- /dev/null
+++ b/.github/workflows/release.yml
@@ -0,0 +1,20 @@
+name: Release
+
+on: workflow_dispatch
+
+jobs:
+ release:
+ runs-on: ubuntu-latest
+
+ steps:
+ - uses: actions/checkout@v2
+ - name: Use Node.js 16
+ uses: actions/setup-node@v2
+ with:
+ node-version: 16
+ - run: yarn install
+ - run: yarn lint
+ - run: yarn release
+ env:
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+ NPM_TOKEN: ${{ secrets.NPM_TOKEN }}