Skip to content

Publish to marketplace without build #3

Publish to marketplace without build

Publish to marketplace without build #3

name: "Publish to marketplace without build"
on:
workflow_dispatch:
jobs:
run:
runs-on: "ubuntu-latest"
steps:
- name: Fetch the repository code
uses: actions/checkout@9a9194f87191a7e9055e3e9b95b8cfb13023bb08 # v4.1.7
- name: Setup Node
uses: actions/setup-node@26961cf329f22f6837d5f54c3efd76b480300ace # v4.0.0
with:
node-version: 20
cache: yarn
- name: Lint
run: |
yarn lint
- name: Publish to VSCode Marketplace
uses: lannonbr/vsce-action@510e61c5e9e6f33c0418ec5ff5fd36b1ced61e85 # v4.0.0
if: steps.auto-commit-action.outputs.changes_detected == 'true'
with:
args: "publish -p $VSCE_TOKEN"
env:
VSCE_TOKEN: ${{ secrets.VSCE_TOKEN }}