Skip to content

fix: ci

fix: ci #4

name: MoonCode Extension CI/CD Pipeline - Bump and publish extension version
on:
push:
branches: "main"
jobs:
build-and-publish:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v6
with:
node-version: 24
cache: npm
- name: Install dependencies
run: npm install
- name: Publish
# build the dashboard first then the
run: |
npm run build --workspace=@repo/common
npm run build --workspace=dashboard
npm run publish:patch --workspace=mooncode
env:
VSCE_PAT: ${{ secrets.VSCE_PAT }}