From aa64b8c0d8d0069934032889b59ac97d8e1d1b98 Mon Sep 17 00:00:00 2001 From: Manuel Puyol Date: Wed, 17 Aug 2022 19:50:33 +0000 Subject: [PATCH] add publish action --- .github/workflows/publish.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .github/workflows/publish.yml diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml new file mode 100644 index 0000000..efe084d --- /dev/null +++ b/.github/workflows/publish.yml @@ -0,0 +1,26 @@ +name: Release +on: + release: + types: + - published + workflow_dispatch: + +jobs: + release: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v2 + - uses: actions/setup-node@v1 + with: + node-version: 14 + registry-url: https://registry.npmjs.org/ + + - name: Install the dependencies + run: npm i + + - name: Install vsce + run: npm i -g vsce + + - name: Publish + run: vsce publish -p ${{ secrets.VSCE_PAT }}