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
43 changes: 43 additions & 0 deletions .github/workflows/activepieces.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
name: Activepieces piece

on:
push:
branches: [main]
paths:
- platforms/activepieces/**
- dist/activepieces/**
- shared/text/**
- scripts/**
- .github/workflows/activepieces.yml
pull_request:
paths:
- platforms/activepieces/**
- dist/activepieces/**
- shared/text/**
- scripts/**
- .github/workflows/activepieces.yml

permissions:
contents: read

jobs:
check:
name: Lint, build and test in activepieces
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0
with:
node-version: 24
- run: npm ci
# activepieces' packageManager at the pinned commit. If they differ,
# check.sh installs the right version instead.
- uses: oven-sh/setup-bun@0c5077e51419868618aeaa5fe8019c62421857d6 # v2.2.0
with:
bun-version: "1.4.0"
- uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0
with:
path: ~/.bun/install/cache
key: bun-activepieces-${{ hashFiles('platforms/activepieces/vars.yaml') }}
restore-keys: bun-activepieces-
- run: platforms/activepieces/scripts/check.sh
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ A fact that more than one place states (what an error code means, what a request

## Code hosts

`kind: code` in `vars.yaml` makes a host whose output isn't a plugin but files for somewhere else: code for another project (a piece as it sits in that project's repo), or a listing a marketplace reads. A code host ships only its own files, with `{{…}}` filled in source files too: no shared skills, `LICENSE` or assets, and no `plugin.json`. Its `README.md` documents it here and isn't shipped or rendered; `npm run validate` requires one, and the render fails if the host has a `skills/` folder. It needs no release-please entry until it's released from this repo.
`kind: code` in `vars.yaml` makes a host whose output isn't a plugin but files for somewhere else: code for another project (a piece as it sits in that project's repo), or a listing a marketplace reads. A code host ships only its own files, with `{{…}}` filled in source files too: no shared skills, `LICENSE` or assets, and no `plugin.json`. Its `README.md` documents it here and isn't shipped or rendered; `npm run validate` requires one, and the render fails if the host has a `skills/` folder. It needs no release-please entry until it's released from this repo. If it's code, its `scripts/check.sh` can build and test `dist/<host>/` the way the target project does, run by its own workflow (`platforms/activepieces/` does).

## Tests

Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ Each host's guide covers installing the plugin and signing in to Zenrows. You si
<!-- hosts:start (generated by npm run render from platforms/; don't edit) -->
| Host | Setup guide |
|---|---|
| Activepieces | [platforms/activepieces/README.md](platforms/activepieces/README.md) |
| GitHub Copilot | [dist/copilot/README.md](dist/copilot/README.md) |
<!-- hosts:end -->

Expand Down
47 changes: 47 additions & 0 deletions dist/activepieces/.eslintrc.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

21 changes: 21 additions & 0 deletions dist/activepieces/package.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

58 changes: 58 additions & 0 deletions dist/activepieces/src/i18n/translation.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

38 changes: 38 additions & 0 deletions dist/activepieces/src/index.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

75 changes: 75 additions & 0 deletions dist/activepieces/src/lib/actions/extract-structured-data.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

85 changes: 85 additions & 0 deletions dist/activepieces/src/lib/actions/get-account-usage.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading