Skip to content

Merge pull request #11 from gitify-app/renovate/lock-file-maintenance #32

Merge pull request #11 from gitify-app/renovate/lock-file-maintenance

Merge pull request #11 from gitify-app/renovate/lock-file-maintenance #32

Workflow file for this run

name: CI
on:
push:
branches:
- main
pull_request:
branches:
- main
permissions: {}
jobs:
shell:
name: GNOME ${{ matrix.shell }} Wayland smoke test
runs-on: ubuntu-24.04
strategy:
fail-fast: false
matrix:
include:
- shell: '50'
image: ubuntu:26.04@sha256:cd21a4f68a617580279d4b091cb18e3af9fa8a87500665f0ae5f7f757d17d367
permissions:
contents: read
steps:
- name: Checkout
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
- name: Build isolated GNOME desktop
env:
GNOME_TEST_IMAGE: ${{ matrix.image }}
run: docker build --build-arg GNOME_TEST_IMAGE="$GNOME_TEST_IMAGE" -f tests/shell/Dockerfile -t gitify-gnome-test .
- name: Verify placement in GNOME Wayland
run: docker run --rm gitify-gnome-test
lint:
name: Lint Code [vite-plus]
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- name: Checkout
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
- name: Setup Vite+
uses: voidzero-dev/setup-vp@9fd26ff49f9b5e6276c2b493da4454ad4527f7f4 # v1.20.0
with:
cache: true
node-version-file: '.nvmrc'
- name: Run lint and format checks
run: vp run check
- name: Test placement and extension lifecycle
run: vp run test
lint-actions:
name: Lint GitHub Actions [actionlint]
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- name: Checkout
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
sparse-checkout: .github/
- name: GitHub Actions linter
uses: docker://rhysd/actionlint:1.7.12@sha256:b1934ee5f1c509618f2508e6eb47ee0d3520686341fec936f3b79331f9315667
bundle:
name: Bundle Extension
runs-on: ubuntu-latest
needs: lint
permissions:
contents: read
steps:
- name: Checkout
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
- name: Setup Vite+
uses: voidzero-dev/setup-vp@9fd26ff49f9b5e6276c2b493da4454ad4527f7f4 # v1.20.0
with:
cache: true
node-version-file: '.nvmrc'
- name: Bundle extension
run: vp run bundle
- name: Upload extension bundle
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
with:
name: gitify-shell-extension
path: dist/*.shell-extension.zip
if-no-files-found: error