mirror of
https://github.com/penpot/penpot.git
synced 2026-09-14 16:09:01 +00:00
Move build-docker and build-docker-devenv jobs from penpot-extended-runner to penpot-standar-runner, point tests-exporter at the canonical penpot-extended-runner label instead of the stale penpot-runner-02 alias, and switch build-tag/release notify jobs from ubuntu-24.04 to ubuntu-latest. Signed-off-by: David Barragán Merino <david.barragan@kaleidos.net>
59 lines
1.1 KiB
YAML
59 lines
1.1 KiB
YAML
name: "CI: Exporter"
|
|
|
|
defaults:
|
|
run:
|
|
shell: bash
|
|
|
|
on:
|
|
pull_request:
|
|
paths:
|
|
- 'exporter/**'
|
|
- 'common/**'
|
|
|
|
types:
|
|
- opened
|
|
- synchronize
|
|
- ready_for_review
|
|
|
|
push:
|
|
branches:
|
|
- develop
|
|
- staging
|
|
|
|
paths:
|
|
- 'exporter/**'
|
|
- 'common/**'
|
|
|
|
concurrency:
|
|
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
|
|
cancel-in-progress: true
|
|
|
|
jobs:
|
|
test-exporter:
|
|
if: ${{ !github.event.pull_request.draft }}
|
|
name: "Exporter Tests"
|
|
runs-on: penpot-extended-runner
|
|
container:
|
|
image: penpotapp/devenv:latest
|
|
volumes:
|
|
- /var/cache/github-runner/m2:/root/.m2
|
|
- /var/cache/github-runner/gitlib:/root/.gitlibs
|
|
|
|
steps:
|
|
- name: Checkout repository
|
|
uses: actions/checkout@v6
|
|
|
|
- name: Lint
|
|
working-directory: ./exporter
|
|
run: |
|
|
corepack enable;
|
|
corepack install;
|
|
pnpm install;
|
|
pnpm run check-fmt:clj
|
|
pnpm run lint:clj
|
|
|
|
- name: Tests
|
|
working-directory: ./exporter
|
|
run: |
|
|
./scripts/test
|