fix: CI error (#10)
* feat: deploy To GH Releases and VSCode Marketplace
* feat: add yarn semantic-release
* fix: upgrade node 12 to latest
* fix: CI error
diff --git a/.github/workflows/default.yml b/.github/workflows/default.yml
index 4ba609e..48e85e2 100644
--- a/.github/workflows/default.yml
+++ b/.github/workflows/default.yml
@@ -1,4 +1,7 @@
-on: [push, pull_request]
+on:
+ push:
+ tags:
+ - '*'
name: Deploy To GitHub Releases and VSCode Extension Marketplace
jobs:
@@ -6,6 +9,9 @@
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
+ - uses: actions/setup-node@v3
+ with:
+ node-version: 18
- name: Run semantic-release
if: github.repository == 'casbin/casbin-vscode-plugin' && github.event_name == 'push'
run: yarn install && yarn semantic-release