mirror of
https://github.com/penpot/penpot.git
synced 2026-10-29 05:50:35 +00:00
* 🚑 Drop invoke_* glue checks from staging CI The .github backport from develop added check-no-invoke-v to WASM and Exporter CI, but staging still ships glue that uses invoke_* wrappers. Remove those steps (and the WASM production build only used by the check) so staging CI matches the binary it builds. * 🔧 Disable credential persistence in commit-checker checkout zizmor fails CI: Workflows when actions/checkout omits persist-credentials: false. Match the rest of the workflows.
64 lines
1.2 KiB
YAML
64 lines
1.2 KiB
YAML
name: "CI: Exporter"
|
|
|
|
defaults:
|
|
run:
|
|
shell: bash
|
|
|
|
on:
|
|
pull_request:
|
|
paths:
|
|
- 'exporter/**'
|
|
- 'common/**'
|
|
- 'render-wasm/**'
|
|
|
|
types:
|
|
- opened
|
|
- synchronize
|
|
- ready_for_review
|
|
|
|
push:
|
|
branches:
|
|
- develop
|
|
- staging
|
|
|
|
paths:
|
|
- 'exporter/**'
|
|
- 'common/**'
|
|
- 'render-wasm/**'
|
|
|
|
concurrency:
|
|
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
|
|
cancel-in-progress: true
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
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@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
|
with:
|
|
persist-credentials: false
|
|
|
|
- name: Lint
|
|
working-directory: ./exporter
|
|
run: |
|
|
pnpm install;
|
|
pnpm run check-fmt:clj
|
|
pnpm run lint:clj
|
|
|
|
- name: Tests
|
|
working-directory: ./exporter
|
|
run: |
|
|
./scripts/test
|