Skip to content

Update node version to 20 #30

Update node version to 20

Update node version to 20 #30

Workflow file for this run

name: publish
on:
push:
tags:
- '*'
env:
NODE_VERSION: 16
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- 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 }}