Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,11 @@ jobs:
permissions:
contents: read
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v7
- name: Setup Node.js
uses: actions/setup-node@v7
with:
node-version: 24
- name: Install NPM dependencies
run: npm ci
- name: Run tests
Expand Down
17 changes: 17 additions & 0 deletions .github/workflows/pr-title-lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Validates that PR titles follow Conventional Commits, so squash-merge
# commit subjects (derived from the PR title) are parseable by release-please
# and land in the changelog.
name: Lint PR Title
on:
pull_request_target:
types: [opened, reopened, edited]
permissions:
pull-requests: read
jobs:
validate-title:
name: Validate PR title
runs-on: ubuntu-latest
steps:
- uses: amannn/action-semantic-pull-request@v6
Comment thread
kgogov marked this conversation as resolved.
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
57 changes: 34 additions & 23 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,32 +1,43 @@
# This is a basic workflow to automate the creation of the build artifact
name: Release
# Controls when the workflow will run
on:
schedule:
- cron: "0 9 15 * *"
# Allows you to run this workflow manually from the Actions tab
push:
branches: [ master ]
workflow_dispatch:
permissions:
contents: write
issues: write
pull-requests: write
jobs:
release:
release-please:
runs-on: ubuntu-latest
permissions:
contents: write
pull-requests: write
steps:
- uses: actions/checkout@v6
- name: Setup Node.js
uses: actions/setup-node@v6
- uses: googleapis/release-please-action@v5
id: release
with:
node-version: 22
- name: Install NPM dependencies
run: npm ci
- name: Run tests
run: grunt test
# Release using semantic-release if there are new semantic commits.
# The @semantic-release/git plugin commits the version bump
# (package.json, package-lock.json, app/manifest.json, CHANGELOG.md)
# directly back to master.
- name: Release
token: ${{ secrets.GITHUB_TOKEN }}

# Build + upload the artifact ONLY when a release was actually created
# (i.e. the Release PR was merged this run). Most pushes only refresh the
# Release PR, so release_created is false and these steps are skipped.
- uses: actions/checkout@v7
if: ${{ steps.release.outputs.release_created }}
- uses: actions/setup-node@v7
if: ${{ steps.release.outputs.release_created }}
with:
node-version: 24
- name: Build distribution zip
if: ${{ steps.release.outputs.release_created }}
# --ignore-scripts skips postinstall (which itself runs tsc + grunt dist);
# we build explicitly below so the artifact isn't produced twice.
run: |
npm ci --ignore-scripts
npm run generate:typescript
grunt dist
- name: Upload release asset
if: ${{ steps.release.outputs.release_created }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: npx semantic-release
run: |
cp package/ui5inspector.zip "ui5inspector-${{ steps.release.outputs.tag_name }}.zip"
gh release upload "${{ steps.release.outputs.tag_name }}" \
"ui5inspector-${{ steps.release.outputs.tag_name }}.zip"
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ CLAUDE.md
.scratch/
docs/adr/
docs/agents/
docs/superpowers/
CONTEXT.md
prompt.md

Expand Down
3 changes: 3 additions & 0 deletions .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
".": "1.10.0"
}
36 changes: 0 additions & 36 deletions .releaserc.json

This file was deleted.

Loading
Loading