Skip to content

chore: update for standalone repo (remove monorepo config, add CI/CD) #1

chore: update for standalone repo (remove monorepo config, add CI/CD)

chore: update for standalone repo (remove monorepo config, add CI/CD) #1

Workflow file for this run

name: Release
on:
push:
branches: [main, develop]
permissions:
contents: write
issues: write
pull-requests: write
jobs:
release:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
persist-credentials: false
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 22
registry-url: https://registry.npmjs.org/
cache: 'npm'
- name: Install dependencies
run: npm ci
- name: Build
run: npm run build
- name: Verify build output
run: |
if [[ ! -d "dist" ]]; then
echo "Build failed: dist directory not found"
exit 1
fi
echo "Build verification passed"
- name: Release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
run: npx semantic-release