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
17 changes: 17 additions & 0 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# CODEOWNERS file for gnome-shell repository
# See: https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/about-code-owners

# Critical infrastructure files - require review from core maintainers
/.github/ @JumpLink @Totto16 @swsnr @schnz
/package.json @JumpLink @Totto16 @swsnr @schnz
/yarn.lock @JumpLink @Totto16 @swsnr @schnz

# Package configurations - critical for npm releases
/packages/*/package.json @JumpLink @Totto16 @swsnr @schnz

# TypeScript configurations - affect type generation
/tsconfig*.json @JumpLink @Totto16 @swsnr @schnz

# CODEOWNERS file itself - only core maintainers can change
/.github/CODEOWNERS @JumpLink @Totto16 @swsnr @schnz

26 changes: 15 additions & 11 deletions .github/workflows/ci.yml → .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
# This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions

name: CI
name: Build CI

on:
push:
Expand All @@ -12,32 +9,39 @@ on:
- "*"

jobs:
ci:

runs-on: ubuntu-22.04
build:
name: Build CI
runs-on: ubuntu-24.04

strategy:
matrix:
node-version: [18.x]
architecture:
- x64
node-version: [22.x]

steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
submodules: true

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- run: yarn install

- name: Install dependencies
run: yarn install

- name: Build Types
run: yarn run build:types

- name: Validate Formatting
run: yarn run prettier:check

- name: Validate Types
run: NODE_OPTIONS=--max_old_space_size=9216 yarn run validate:types

- name: Build Example
run: yarn run build:example

- name: Validate Example Typescript
run: NODE_OPTIONS=--max_old_space_size=9216 yarn run validate:example
44 changes: 44 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
name: Release CI

on:
release:
types: published

env:
node-version: 22.x

jobs:
release:
name: Release CI
runs-on: ubuntu-24.04
environment: npm-release
permissions:
contents: read
id-token: write

steps:
- name: Checkout repository
uses: actions/checkout@v4

# This also setups a .npmrc file to publish to npm
- name: Use Node.js ${{ env.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ env.node-version }}
registry-url: 'https://registry.npmjs.org'
# Defaults to the user or organization that owns the workflow file
scope: '@girs'

- name: Install dependencies
run: yarn install

- name: Build Types
run: yarn run build:types

- name: Generate archive
run: yarn workspace @girs/gnome-shell pack

- name: Publish
run: yarn workspace @girs/gnome-shell npm publish --tolerate-republish --access public --tag ${{github.event.release.prerelease && 'next' || 'latest'}} --provenance
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
935 changes: 0 additions & 935 deletions .yarn/releases/yarn-4.7.0.cjs

This file was deleted.

942 changes: 942 additions & 0 deletions .yarn/releases/yarn-4.9.2.cjs

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion .yarnrc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ compressionLevel: mixed

enableGlobalCache: false

yarnPath: .yarn/releases/yarn-4.7.0.cjs
yarnPath: .yarn/releases/yarn-4.9.2.cjs
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
"url": "https://github.com/gjsify/gnome-shell/issues"
},
"homepage": "https://github.com/gjsify/gnome-shell#readme",
"packageManager": "yarn@4.7.0",
"packageManager": "yarn@4.9.2",
"devDependencies": {
"prettier": "^3.6.2",
"typescript": "5.9.2"
Expand Down