Skip to content
Merged
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
16 changes: 16 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: Release

on:
workflow_dispatch:

jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: whilesmart/workflows/js/release@main
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's a best practice to pin GitHub Actions to a full-length commit SHA or a specific version tag (e.g., v1) instead of @main. This prevents unexpected breaking changes if the main branch of the referenced action is updated, enhancing both stability and security. Please check the whilesmart/workflows/js/release repository for available tags or the latest stable SHA.

Suggested change
- uses: whilesmart/workflows/js/release@main
- uses: whilesmart/workflows/js/release@v1.0.0

with:
token: ${{ secrets.GITHUB_TOKEN }}
package: flatrun-ui
release_type: app
create_archive: true
build_command: npm run build