Skip to content

Rename format to binaryFormat in the formatOptions #45

Rename format to binaryFormat in the formatOptions

Rename format to binaryFormat in the formatOptions #45

Workflow file for this run

# This Action is triggered when a new release tag is created in the repository.
# Based on: https://code.visualstudio.com/api/working-with-extensions/continuous-integration#github-actions
# It packages and publishes the extension to the VSCode marketplace.
# The publish will only have an effect if the version number was bumped in the `package.json`,
# else it will complete this job, and silently fail to publish an update on the marketplace.
name: Publish the VS Code Extension
on:
pull_request:
types:
- closed
jobs:
if_merged:
name: Publish the VS Code Extension
if: github.event.pull_request.merged == true
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Install Node.js
uses: actions/setup-node@v3
with:
node-version: '18'
- run: npm install --frozen-lockfile
- run: npm install -g vsce
- run: npm run pretest
- name: Finally, publish to the marketplace.
run: npm run publish
env:
VSCE_PAT: ${{ secrets.VS_MARKETPLACE_TOKEN }}