Merge pull request #228 from pascalre/feat/reverse-order #42
Workflow file for this run
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
name: publish | |
on: | |
push: | |
tags: | |
- '*' | |
env: | |
NODE_VERSION: 20 | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Setup Node ${{env.NODE_VERSION}} | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{env.NODE_VERSION}} | |
- name: Install dependencies | |
run: npm i | |
- name: Install vsce | |
run: npm i -g vsce | |
- name: Publish to VS Marketplace | |
run: vsce publish -p ${{ secrets.VSCE_PAT }} | |
- name: Publish to Open VSX Registry | |
run: npx ovsx publish -p ${{ secrets.OVSX_PAT }} |