Skip to content

Bump cross-spawn in the npm_and_yarn group across 1 directory #62

Bump cross-spawn in the npm_and_yarn group across 1 directory

Bump cross-spawn in the npm_and_yarn group across 1 directory #62

Workflow file for this run

name: CI
on:
push:
branches:
- "**"
tags:
- "v*"
jobs:
validate:
name: Validate Version
runs-on: ubuntu-latest
if: success() && startsWith( github.ref, 'refs/tags/')
steps:
- uses: actions/checkout@v4
- name: match-tag-to-package-version
uses: geritol/[email protected]
with:
TAG_PREFIX: v
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
- run: npm install
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- run: npx vsce package
- uses: actions/upload-artifact@v4
with:
path: "*.vsix"
publish:
runs-on: ubuntu-latest
needs: [build, validate]
if: success() && startsWith( github.ref, 'refs/tags/')
steps:
- uses: actions/download-artifact@v4
- run: npx vsce publish --packagePath $(find . -iname *.vsix)
env:
VSCE_PAT: ${{ secrets.VSCE_PAT }}