Skip to content

Add "tight" tmlanuage.json formatting option (#12) #29

Add "tight" tmlanuage.json formatting option (#12)

Add "tight" tmlanuage.json formatting option (#12) #29

name: Publish Pre-release Extension
on:
workflow_dispatch:
push:
branches:
- 'main'
paths:
- '**.json'
- '**.ts'
jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: Install Dependencies
run: |
npm i
npm i @vscode/vsce -g
- name: Build Extension
run: npm run build
- name: Setup Github Actions
run: |
git config --global user.name "RedCMD"
git config --global user.email "[email protected]"
git add .
git diff-index --quiet HEAD || git commit -m "Sync Github Actions"
- name: Publish Pre-release
run: |
vsce publish patch --pre-release -p ${{ secrets.VSCE_PAT }}
git push