Skip to content
Merged
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
19 changes: 19 additions & 0 deletions .github/workflows/create_zip.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,25 @@ jobs:
with:
fetch-depth: 0

- name: Setup pnpm
uses: pnpm/action-setup@v4
with:
version: 9

- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 20
cache: pnpm
cache-dependency-path: views/js/admin/settings-app/pnpm-lock.yaml

- name: Build React settings app
run: |
cd views/js/admin/settings-app
pnpm install --frozen-lockfile
pnpm run build
rm -rf node_modules src

- name: Build module ZIP
run: |
composer install --no-dev --optimize-autoloader --classmap-authoritative
Expand Down
19 changes: 19 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,25 @@ jobs:
with:
php-version: '5.6'

- name: Setup pnpm
uses: pnpm/action-setup@v4
with:
version: 9

- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 20
cache: pnpm
cache-dependency-path: views/js/admin/settings-app/pnpm-lock.yaml

- name: Build React settings app
run: |
cd views/js/admin/settings-app
pnpm install --frozen-lockfile
pnpm run build
rm -rf node_modules src

- name: Build module ZIP
# IF YOU EDIT THIS, DON'T FORGET TO EDIT release.yml
run: |
Expand Down
19 changes: 19 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,25 @@ jobs:
with:
php-version: '5.6'

- name: Setup pnpm
uses: pnpm/action-setup@v4
with:
version: 9

- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 20
cache: pnpm
cache-dependency-path: views/js/admin/settings-app/pnpm-lock.yaml

- name: Build React settings app
run: |
cd views/js/admin/settings-app
pnpm install --frozen-lockfile
pnpm run build
rm -rf node_modules src

- name: build
# IF YOU EDIT THIS, DON'T FORGET TO EDIT deploy.yml
run: |
Expand Down
Loading