- Add MIT LICENSE file - Fix YOUR_ORG placeholders in README and DEPLOYMENT docs - Fix Node.js version mismatch in release workflow (21 → 22) - Delete 17 internal debug/development docs - Rewrite hero section for clarity (explain what TPMJS is in seconds) - Add "What is TPMJS?" section to landing page - Fix hardcoded emails to hello@tpmjs.com - Fix hardcoded dates to December 2024 - Add package metadata (author, license, repository) to all published packages - Clean up AI-sounding language throughout - Add comprehensive LAUNCH_REVIEW.md with checklist 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
47 lines
1.1 KiB
YAML
47 lines
1.1 KiB
YAML
name: Release
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
|
|
concurrency: ${{ github.workflow }}-${{ github.ref }}
|
|
|
|
jobs:
|
|
release:
|
|
name: Release
|
|
runs-on: ubuntu-latest
|
|
permissions:
|
|
contents: write
|
|
pull-requests: write
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
|
|
- uses: pnpm/action-setup@v4
|
|
with:
|
|
version: 10.14.0
|
|
|
|
- uses: actions/setup-node@v4
|
|
with:
|
|
node-version: 22
|
|
cache: 'pnpm'
|
|
registry-url: 'https://registry.npmjs.org'
|
|
|
|
- name: Install dependencies
|
|
run: pnpm install --frozen-lockfile
|
|
|
|
- name: Build
|
|
run: pnpm build
|
|
|
|
- name: Create Release Pull Request or Publish
|
|
id: changesets
|
|
uses: changesets/action@v1
|
|
with:
|
|
publish: pnpm changeset:publish
|
|
version: pnpm changeset:version
|
|
commit: 'chore: version packages'
|
|
title: 'chore: version packages'
|
|
env:
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
|
|
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|