Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
4296852
build: updated workflows
matteobruni May 9, 2026
69e2c74
Merge branch 'main' into v4
matteobruni May 9, 2026
93174ae
Merge pull request #5714 from tsparticles/v4
matteobruni May 9, 2026
8ac678c
chore(release): published new version
matteobruni May 9, 2026
048fb06
Merge pull request #5715 from tsparticles/v4
matteobruni May 9, 2026
a52b45d
build: added missing script in confetti website
matteobruni May 9, 2026
026c894
build: updated scripts in websites with lint
matteobruni May 9, 2026
da351aa
Merge branch 'main' into v4
matteobruni May 9, 2026
603a680
Merge pull request #5716 from tsparticles/v4
matteobruni May 9, 2026
291b2d3
build: updated workflows for websites deploy and updated vite config …
matteobruni May 9, 2026
899a126
Merge remote-tracking branch 'origin/v4' into v4
matteobruni May 9, 2026
75a83c1
Merge branch 'main' into v4
matteobruni May 9, 2026
3015bdb
Merge pull request #5717 from tsparticles/v4
matteobruni May 9, 2026
b4e1f4b
build: updated workflows for websites deploy
matteobruni May 9, 2026
ab19473
Merge branch 'main' into v4
matteobruni May 9, 2026
7c872bd
Merge pull request #5718 from tsparticles/v4
matteobruni May 9, 2026
773cc73
build: unified workflows for websites deploy
matteobruni May 9, 2026
b72aa13
Merge branch 'main' into v4
matteobruni May 9, 2026
ef5ef87
build: simplified build in websites deploy workflow
matteobruni May 9, 2026
1507e14
Merge pull request #5719 from tsparticles/v4
matteobruni May 9, 2026
bcfc827
build: updated websites deploy workflow
matteobruni May 9, 2026
e95a98b
Merge branch 'main' into v4
matteobruni May 9, 2026
1405235
Merge pull request #5720 from tsparticles/v4
matteobruni May 9, 2026
fbf93f4
build: updated websites deploy workflow
matteobruni May 9, 2026
47764ea
Merge branch 'main' into v4
matteobruni May 9, 2026
742d35a
Merge pull request #5721 from tsparticles/v4
matteobruni May 9, 2026
c2b84ee
build: updated confetti website vite config
matteobruni May 9, 2026
bf108c3
Merge branch 'main' into v4
matteobruni May 9, 2026
23a9b1c
Merge pull request #5722 from tsparticles/v4
matteobruni May 9, 2026
40ee884
build: updated confetti website nx config
matteobruni May 9, 2026
44b2eef
Merge branch 'main' into v4
matteobruni May 9, 2026
cba1dc6
Merge pull request #5723 from tsparticles/v4
matteobruni May 9, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
84 changes: 0 additions & 84 deletions .github/workflows/deploy-confetti.yml

This file was deleted.

89 changes: 0 additions & 89 deletions .github/workflows/deploy-website.yml

This file was deleted.

98 changes: 98 additions & 0 deletions .github/workflows/deploy-websites.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,98 @@
name: Deploy Websites

on:
schedule:
- cron: '0 0 * * *'
push:
branches:
- main
paths:
- 'websites/confetti/**'
- 'websites/website/**'
- '.github/workflows/deploy-websites.yml'
workflow_dispatch:

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

permissions:
contents: read

env:
NX_CLOUD_ACCESS_TOKEN: "${{ secrets.NX_CLOUD_ACCESS_TOKEN }}"

jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
with:
fetch-depth: 0

- uses: pnpm/action-setup@v6
with:
cache: true

- uses: actions/setup-node@v6
with:
node-version: '24'

- name: Initialize Nx Cloud or fall back to local
run: |
if [ -z "$NX_CLOUD_ACCESS_TOKEN" ]; then
echo "NX Cloud token missing — using local nx execution"
echo "NX_NO_CLOUD=true" >> "$GITHUB_ENV"
fi

- name: Install dependencies
run: pnpm install

- name: Build workspace packages
run: pnpm exec nx run-many -t build --projects="@tsparticles/confetti-website,@tsparticles/website"

- name: Generate GitHub App token (confetti)
id: token-confetti
uses: actions/create-github-app-token@v1
with:
app-id: ${{ secrets.PAGES_APP_ID }}
private-key: ${{ secrets.PAGES_APP_PRIVATE_KEY }}
owner: tsparticles
repositories: |
confetti

- name: Generate GitHub App token (website)
id: token-website
uses: actions/create-github-app-token@v1
with:
app-id: ${{ secrets.PAGES_APP_ID }}
private-key: ${{ secrets.PAGES_APP_PRIVATE_KEY }}
owner: tsparticles
repositories: |
website

- name: Deploy to tsparticles/confetti main
uses: peaceiris/actions-gh-pages@v4
with:
personal_token: ${{ steps.token-confetti.outputs.token }}
external_repository: tsparticles/confetti
publish_branch: main
publish_dir: websites/confetti/dist
cname: confetti.js.org
user_name: 'github-actions-bot'
user_email: 'support+actions@github.com'
commit_message: 'build: website updated'
force_orphan: true

- name: Deploy to tsparticles/website main
uses: peaceiris/actions-gh-pages@v4
with:
personal_token: ${{ steps.token-website.outputs.token }}
external_repository: tsparticles/website
publish_branch: main
publish_dir: websites/website/docs/.vitepress/dist
cname: particles.js.org
user_name: 'github-actions-bot'
user_email: 'support+actions@github.com'
commit_message: 'build: website updated'
force_orphan: true
4 changes: 3 additions & 1 deletion .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ on:
- main

env:
NX_NO_CLOUD: true
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

jobs:
Expand All @@ -20,11 +21,12 @@ jobs:
with:
fetch-depth: 0
- uses: pnpm/action-setup@v6
with:
cache: true

- uses: actions/setup-node@v6
with:
node-version: '24'
cache: 'pnpm'

- run: pnpm install --no-frozen-lockfile
- run: pnpm run build:ci:json
3 changes: 2 additions & 1 deletion .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,12 @@ jobs:
uses: nrwl/nx-set-shas@v5

- uses: pnpm/action-setup@v6
with:
cache: true

- uses: actions/setup-node@v6
with:
node-version: "24"
cache: 'pnpm'

- name: Install dependencies
run: pnpm install
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,13 +31,14 @@ jobs:
fetch-depth: 0

- uses: pnpm/action-setup@v6
with:
cache: true

- uses: actions/setup-node@v6
name: Setup Node.js
with:
node-version: "24"
registry-url: https://registry.npmjs.org
cache: 'pnpm'

- name: Install Dependencies
run: pnpm install
Expand Down
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

# [4.0.0-beta.16](https://github.com/tsparticles/tsparticles/compare/v4.0.0-beta.15...v4.0.0-beta.16) (2026-05-09)

**Note:** Version bump only for package @tsparticles/workspace

# [4.0.0-beta.15](https://github.com/tsparticles/tsparticles/compare/v4.0.0-beta.14...v4.0.0-beta.15) (2026-05-09)

**Note:** Version bump only for package @tsparticles/workspace
Expand Down
4 changes: 4 additions & 0 deletions bundles/all/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

# [4.0.0-beta.16](https://github.com/tsparticles/tsparticles/compare/v4.0.0-beta.15...v4.0.0-beta.16) (2026-05-09)

**Note:** Version bump only for package @tsparticles/all

# [4.0.0-beta.15](https://github.com/tsparticles/tsparticles/compare/v4.0.0-beta.14...v4.0.0-beta.15) (2026-05-09)

**Note:** Version bump only for package @tsparticles/all
Expand Down
Loading
Loading