Skip to content

Open source website builder and Webflow alternative. Webstudio is an advanced visual builder that connects to any headless CMS, supports all CSS properties, and can be hosted anywhere, including with us.

publish new packages

Andras Bacsaif9dc77913da1
diff --git a/.github/workflows/css-data.yml b/.github/workflows/css-data.yml
new file mode 100644
index 0000000000..0f8066fe17
--- /dev/null
+++ b/.github/workflows/css-data.yml
@@ -0,0 +1,19 @@
+name: CSS Data
+on:
+ push:
+ paths:
+ - "packages/css-data/**/*"
+ - ".github/workflows/css-data.yml"
+ - ".github/actions/publish/action.yaml"
+ branches:
+ - main
+jobs:
+ publish:
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v3
+ - uses: ./.github/actions/publish
+ with:
+ workdir: ./packages/css-data
+ filter: "@webstudio-is/css-data"
+ token: ${{ secrets.NPM_TOKEN }}
diff --git a/.github/workflows/css-engine.yml b/.github/workflows/css-engine.yml
new file mode 100644
index 0000000000..7d5ed80a69
--- /dev/null
+++ b/.github/workflows/css-engine.yml
@@ -0,0 +1,19 @@
+name: CSS Engine
+on:
+ push:
+ paths:
+ - "packages/css-engine/**/*"
+ - ".github/workflows/css-engine.yml"
+ - ".github/actions/publish/action.yaml"
+ branches:
+ - main
+jobs:
+ publish:
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v3
+ - uses: ./.github/actions/publish
+ with:
+ workdir: ./packages/css-engine
+ filter: "@webstudio-is/css-engine"
+ token: ${{ secrets.NPM_TOKEN }}
diff --git a/.github/workflows/package-tests.yml b/.github/workflows/package-tests.yml
index 8ff3a7f4f8..22d99b54a6 100644
--- a/.github/workflows/package-tests.yml
+++ b/.github/workflows/package-tests.yml
@@ -75,4 +75,16 @@ jobs:
with:
workdir: ./packages/project
filter: "@webstudio-is/project"
+ token: ${{ secrets.NPM_TOKEN }}
+ - uses: ./.github/actions/publish-test
+ if: always()
+ with:
+ workdir: ./packages/css-data
+ filter: "@webstudio-is/css-data"
+ token: ${{ secrets.NPM_TOKEN }}
+ - uses: ./.github/actions/publish-test
+ if: always()
+ with:
+ workdir: ./packages/css-engine
+ filter: "@webstudio-is/css-engine"
token: ${{ secrets.NPM_TOKEN }}
\ No newline at end of file