Skip to content

feat(dsl): add LoopBuilder and harden npm publish pipeline #45

feat(dsl): add LoopBuilder and harden npm publish pipeline

feat(dsl): add LoopBuilder and harden npm publish pipeline #45

Workflow file for this run

name: Release
on:
push:
branches: [main]
env:
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true
jobs:
release:
if: contains(github.event.head_commit.message, 'chore(release)')
runs-on: ubuntu-latest
permissions:
contents: write
id-token: write
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
- uses: actions/setup-node@v4
with:
node-version: 20
cache: pnpm
registry-url: https://registry.npmjs.org
- run: pnpm install --frozen-lockfile
- run: pnpm build
- name: Validate packed manifests (no workspace:*)
run: pnpm validate:publish
- run: pnpm release
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
- name: Create GitHub release
uses: softprops/action-gh-release@v2
with:
generate_release_notes: true