restore folder structure #1
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: Release Workflow | ||
| on: | ||
| push: | ||
| branches: | ||
| - 'release/package' | ||
| jobs: | ||
| run-release-script: | ||
| runs-on: ubuntu-latest | ||
| timeout-minutes: 5 | ||
| defaults: | ||
| run: | ||
| working-directory: | ||
| steps: | ||
| - name: Checkout code | ||
| uses: actions/checkout@v4 | ||
| - name: Setup Node.js | ||
| uses: actions/setup-node@v4 | ||
| with: | ||
| node-version: '22' | ||
| - name: Publish to npm | ||
| id: publish | ||
| run: npx --yes needle-publish-helper@next publish "." --webhook "${{ secrets.WEBHOOK_URL }}" --registry https://packages.needle.tools --access-token "${{ secrets.NPM_TOKEN }}" --create-tag release/ --llm-api-key "${{ secrets.LLM_API_KEY }}" | ||