Add FireSTARR hover popover to About modal #78
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: Dev Pre-Release | |
| on: | |
| push: | |
| branches: [dev] | |
| permissions: | |
| contents: write | |
| jobs: | |
| dev-prerelease: | |
| runs-on: ubuntu-latest | |
| if: github.actor != 'github-actions[bot]' | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| with: | |
| token: ${{ secrets.RELEASE_TOKEN }} | |
| - name: Setup Node | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: '22' | |
| - name: Increment dev build counter | |
| id: version | |
| run: | | |
| CURRENT=$(node -p "require('./frontend/package.json').version") | |
| COUNT_FILE=".github/dev-build-count" | |
| BUILD_NUMBER=$(( $(cat "$COUNT_FILE") + 1 )) | |
| echo "$BUILD_NUMBER" > "$COUNT_FILE" | |
| DEV_TAG="v${CURRENT}-dev.${BUILD_NUMBER}" | |
| echo "current=${CURRENT}" >> $GITHUB_OUTPUT | |
| echo "tag=${DEV_TAG}" >> $GITHUB_OUTPUT | |
| echo "build_number=${BUILD_NUMBER}" >> $GITHUB_OUTPUT | |
| - name: Commit build counter | |
| run: | | |
| git config user.name "github-actions[bot]" | |
| git config user.email "github-actions[bot]@users.noreply.github.com" | |
| git add .github/dev-build-count | |
| git commit -m "chore: dev build ${{ steps.version.outputs.build_number }} [skip ci]" | |
| git push | |
| - name: Install dependencies | |
| run: npm ci | |
| working-directory: frontend | |
| - name: Build library and pack tarball | |
| run: npm run build:lib && npm pack | |
| working-directory: frontend | |
| - name: Rename tarball with dev tag | |
| working-directory: frontend | |
| run: mv nomad-frontend-*.tgz "nomad-frontend-${{ steps.version.outputs.tag }}.tgz" | |
| - name: Create pre-release | |
| uses: softprops/action-gh-release@v2 | |
| with: | |
| tag_name: ${{ steps.version.outputs.tag }} | |
| name: "${{ steps.version.outputs.tag }} (unstable)" | |
| prerelease: true | |
| generate_release_notes: true | |
| files: frontend/nomad-frontend-*.tgz | |
| body: | | |
| **Unstable pre-release** — not for production use. | |
| Branch: `dev` | |
| Build: `${{ steps.version.outputs.build_number }}` | |
| Base version: `v${{ steps.version.outputs.current }}` | |
| Commit: `${{ github.sha }}` |