Skip to content

Merge branch 'master' of github.com:xseman/simple-light #6

Merge branch 'master' of github.com:xseman/simple-light

Merge branch 'master' of github.com:xseman/simple-light #6

name: release-please
on:
push:
branches:
- master
workflow_dispatch:
inputs:
tag:
description: release git tag manually
required: false
type: string
permissions:
contents: write
pull-requests: write
id-token: write
jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: googleapis/release-please-action@v4
id: release
with:
manifest-file: .github/.release-manifest.json
config-file: .github/.release-config.json
token: ${{ secrets.RELEASE_PLEASE_TOKEN }}
- uses: actions/checkout@v4
if: ${{ steps.release.outputs.release_created || github.event.inputs.tag }}
- uses: actions/setup-node@v4
if: ${{ steps.release.outputs.release_created || github.event.inputs.tag }}
with:
node-version-file: ".nvmrc"
registry-url: "https://registry.npmjs.org"
cache: npm
- name: Build and publish on VS Code Marketplace
if: ${{ steps.release.outputs.release_created || github.event.inputs.tag }}
env:
VSCE_PAT: ${{ secrets.VSCE_PAT }}
run: |
npm install
npx vsce package
npx vsce publish