chore: bump version to 0.3.4 #11
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Publish Package | |
| on: | |
| push: | |
| tags: | |
| - 'v*' | |
| workflow_dispatch: | |
| inputs: | |
| tag: | |
| description: 'Tag to release (e.g., v1.0.0)' | |
| required: true | |
| type: string | |
| permissions: | |
| contents: write | |
| id-token: write | |
| jobs: | |
| release: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 | |
| ref: ${{ github.event.inputs.tag || github.ref }} | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: '24' | |
| registry-url: 'https://registry.npmjs.org' | |
| - name: Install dependencies | |
| run: npm ci | |
| - name: Build | |
| run: npm run build | |
| - name: Publish to npm | |
| run: npm publish --provenance | |
| - name: Create GitHub Release | |
| run: | | |
| TAG_NAME=${{ github.event.inputs.tag || github.ref_name }} | |
| gh release create $TAG_NAME \ | |
| --title "Release $TAG_NAME" \ | |
| --notes "## What's Changed | |
| See [CHANGELOG.md](./CHANGELOG.md) for detailed changes. | |
| ## Installation | |
| \`\`\`bash | |
| npm install skeleton-crew-runtime@$TAG_NAME | |
| \`\`\` | |
| ## Documentation | |
| - [API Reference](./docs/api/reference.md) | |
| - [Migration Guide](./docs/guides/migration-guide.md)" \ | |
| || echo "Release may already exist, continuing..." | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |