-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update workflows so every task has an emoji
- Loading branch information
Showing
1 changed file
with
21 additions
and
12 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,31 +13,34 @@ env: | |
|
||
jobs: | ||
create-release-pr: | ||
name: Create release pr | ||
name: 📚 Create release pr | ||
timeout-minutes: 15 | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout repo | ||
uses: actions/checkout@v3 | ||
- name: 🛑 Cancel Previous Runs | ||
uses: styfle/[email protected] | ||
|
||
- name: ⬇️ Checkout repo | ||
uses: actions/checkout@v4 | ||
|
||
- name: Fetch tags | ||
- name: 🔗 Fetch tags | ||
run: git fetch --tags origin | ||
|
||
- name: Setup bun | ||
- name: 🐇 Setup bun | ||
uses: oven-sh/setup-bun@v1 | ||
|
||
- name: Install dependencies | ||
- name: ⚙️ Install dependencies | ||
run: bun install | ||
|
||
- name: Create release pr / create tags | ||
- name: 📔 Create release pr / create tags | ||
id: changesets | ||
uses: changesets/action@v1 | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
with: | ||
version: bun run version-packages | ||
publish: bun run publish-packages | ||
- name: Echo outputs | ||
- name: 🧾 Echo outputs | ||
run: | | ||
echo "hasChangesets=${{ steps.changesets.outputs.hasChangesets }}" | ||
echo "publishedPackages=${{ steps.changesets.outputs.publishedPackages }}" | ||
|
@@ -48,9 +51,12 @@ jobs: | |
publishedPackageNames: ${{ toJSON(fromJSON(steps.changesets.outputs.publishedPackages).*['name']) }} | ||
|
||
build-frontend: | ||
name: Build frontend | ||
name: 🛠️ Build frontend | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: 🛑 Cancel Previous Runs | ||
uses: styfle/[email protected] | ||
|
||
- name: ⬇️ Checkout repo | ||
uses: actions/checkout@v4 | ||
|
||
|
@@ -157,9 +163,12 @@ jobs: | |
FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }} | ||
|
||
build-backend: | ||
name: Build backend | ||
name: 🛠️ Build backend | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: 🛑 Cancel Previous Runs | ||
uses: styfle/[email protected] | ||
|
||
- name: ⬇️ Checkout repo | ||
uses: actions/checkout@v4 | ||
|
||
|
@@ -263,7 +272,7 @@ jobs: | |
|
||
cleanup-old-release-tags: | ||
needs: create-release-pr | ||
name: Cleanup old release tags | ||
name: 🚮 Cleanup old release tags | ||
runs-on: ubuntu-latest | ||
continue-on-error: true | ||
permissions: | ||
|
@@ -274,7 +283,7 @@ jobs: | |
matrix: | ||
package: ${{ fromJSON(needs.create-release-pr.outputs.publishedPackages).*['name'] }} | ||
steps: | ||
- name: 'Delete release tags' | ||
- name: 🗑️ Delete release tags | ||
uses: jay2610/[email protected] | ||
with: | ||
keep_latest: 1 | ||
|