Skip to content
Open
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
12 changes: 7 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,18 @@ on:
- main
pull_request:

concurrency:
group: ci-${{ github.ref }}
cancel-in-progress: true

permissions:
contents: read

jobs:
test:
runs-on: ubuntu-latest
timeout-minutes: 15

strategy:
fail-fast: false
matrix:
Expand All @@ -21,11 +27,6 @@ jobs:
- name: Checkout
uses: actions/checkout@v4

- name: Set up Node
uses: actions/setup-node@v4
with:
node-version: "22"

- name: Set up uv
uses: astral-sh/setup-uv@v8
with:
Expand All @@ -47,6 +48,7 @@ jobs:

package:
runs-on: ubuntu-latest
timeout-minutes: 10
needs: test

steps:
Expand Down
8 changes: 8 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,18 @@ on:
tags:
- "v*"

concurrency:
group: release-${{ github.ref }}
cancel-in-progress: false

permissions:
contents: write
id-token: write

jobs:
build:
runs-on: ubuntu-latest
timeout-minutes: 15

steps:
- name: Checkout
Expand Down Expand Up @@ -50,6 +55,7 @@ jobs:

github-release:
runs-on: ubuntu-latest
timeout-minutes: 5
needs: build

steps:
Expand All @@ -68,6 +74,7 @@ jobs:
publish-npm:
if: vars.NPM_PUBLISH == 'true'
runs-on: ubuntu-latest
timeout-minutes: 5
needs: build

steps:
Expand All @@ -91,6 +98,7 @@ jobs:
publish-pypi:
if: vars.PYPI_PUBLISH == 'true'
runs-on: ubuntu-latest
timeout-minutes: 5
needs: build
environment:
name: pypi
Expand Down