Skip to content

feat: filepath and config refactor (#50) #32

feat: filepath and config refactor (#50)

feat: filepath and config refactor (#50) #32

Workflow file for this run

name: Release
on:
push:
branches:
- main
permissions:
contents: write
jobs:
publish:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: 22
cache: 'npm'
- name: Install dependencies
run: npm ci
- name: Create .env file with API key
run: echo "OPENAI_API_KEY=${{ secrets.OPENAI_API_KEY }}" > .env
- name: Compile TypeScript
run: npm run compile
- name: semantic-release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
VSCE_PAT: ${{ secrets.VSCE_TOKEN }}
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
run: npx semantic-release