From c727eda2a75a7cc15e1d1302df2cab0975e5f6bb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?F=C3=A9ry=20Mathieu=20=28Mathius=29?= Date: Wed, 4 Jan 2023 23:16:22 +0100 Subject: [PATCH] feat(workflow): Add publishing to OpenVSX Registry --- .github/workflows/publish.yml | 19 +++++++++++++++++++ 1 file changed, 19 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..7aa0329 --- /dev/null +++ b/.github/workflows/publish.yml @@ -0,0 +1,19 @@ +on: + push: + tags: + - "*" + +name: Deploy Extension +jobs: + deploy: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - uses: actions/setup-node@v1 + with: + node-version: 16 + - run: npm ci + - name: Publish to Open VSX Registry + uses: HaaLeo/publish-vscode-extension@v1 + with: + pat: ${{ secrets.OPEN_VSX_TOKEN }}