Skip to content

Commit

Permalink
chore: add gnome 46 to supported version (#11)
Browse files Browse the repository at this point in the history
  • Loading branch information
BlankParticle authored Mar 24, 2024
1 parent 66ff5ee commit c7b40cb
Show file tree
Hide file tree
Showing 6 changed files with 699 additions and 625 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
name: Code Quality
name: Code Quality 🧹

on:
push:
branches:
- master
pull_request:


jobs:
test:
Expand All @@ -21,13 +20,12 @@ jobs:
uses: pnpm/action-setup@v2
with:
version: "8"

- name: Setup Node.js 🟩
uses: actions/setup-node@v4
with:
cache: "pnpm"
node-version: "20"

- name: Install Dependencies 📥
run: pnpm install

Expand Down
48 changes: 48 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
name: Build and Release 🏗

on:
push:
tags:
- "v*"

jobs:
release:
runs-on: ubuntu-latest
permissions:
contents: write

steps:
- name: Checkout Code 🛎
uses: actions/checkout@v4

- name: Setup pnpm 📦
uses: pnpm/action-setup@v2
with:
version: "8"

- name: Setup Node.js 🟩
uses: actions/setup-node@v4
with:
cache: "pnpm"
node-version: "20"

- name: Add Gnome Extension Tools 🧩
run: |
apt update
apt install -y gnome-shell-extensions
- name: Install Dependencies 📥
run: pnpm install

- name: Build 🏗
run: pnpm build

- name: Release 🚀
uses: softprops/action-gh-release@v2
with:
files: dist/*.shell-extension.zip
token: ${{ secrets.GITHUB_TOKEN }}
tag_name: ${{ github.ref }}
body: "Release ${{ github.ref }}"
draft: false
prerelease: false
2 changes: 1 addition & 1 deletion assets/metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"url": "https://github.com/Extensions-Valhalla/gnome-bluetooth-quick-connect",
"settings-schema": "org.gnome.shell.extensions.bluetooth-quick-connect",
"gettext-domain": "bluetooth-quick-connect",
"shell-version": ["45"],
"shell-version": ["45", "46"],
"donations": {
"github": "BlankParticle"
}
Expand Down
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@
},
"sideEffects": false,
"devDependencies": {
"@biomejs/biome": "^1.5.3",
"@girs/gjs": "^3.2.7",
"@biomejs/biome": "^1.6.2",
"@girs/gjs": "^3.2.9",
"@girs/gnome-shell": "45.0.0-beta8",
"tsup": "^8.0.1",
"typescript": "^5.3.3",
"tsup": "^8.0.2",
"typescript": "^5.4.3",
"zx": "^7.2.3"
}
}
Loading

0 comments on commit c7b40cb

Please sign in to comment.