Skip to content

Commit

Permalink
refs #28758 - Add php version to composer.json and compile theme at c…
Browse files Browse the repository at this point in the history
…omposer install
  • Loading branch information
stefanbutura committed Jan 30, 2025
1 parent 91470fd commit 3688810
Show file tree
Hide file tree
Showing 105 changed files with 22 additions and 100 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/deploy-devel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,11 @@ jobs:
with:
fetch-depth: 1

- name: 'Setup nodejs'
uses: actions/setup-node@v3
with:
node-version-file: 'web/themes/custom/parc/.nvmrc'

- name: 'Install dependencies'
uses: eaudeweb/[email protected]
with:
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/deploy-prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,11 @@ jobs:
with:
fetch-depth: 1

- name: 'Setup nodejs'
uses: actions/setup-node@v3
with:
node-version-file: 'web/themes/custom/frontend/.nvmrc'

- name: 'Install dependencies'
uses: eaudeweb/[email protected]
with:
Expand Down
9 changes: 9 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,9 @@
"minimum-stability": "dev",
"prefer-stable": true,
"config": {
"platform": {
"php": "8.2"
},
"allow-plugins": {
"composer/installers": true,
"drupal/core-composer-scaffold": true,
Expand Down Expand Up @@ -213,5 +216,11 @@
},
"require-dev": {
"drupal/stage_file_proxy": "^2.0"
},
"scripts": {
"post-install-cmd": [
"Composer\\Config::disableProcessTimeout",
"cd web/themes/custom/parc && npm install && npm run build"
]
}
}
2 changes: 2 additions & 0 deletions web/themes/custom/parc/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,5 @@ node_modules
node_modules/*

css/map/*

css
1 change: 1 addition & 0 deletions web/themes/custom/parc/.nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
v12.20.0
1 change: 0 additions & 1 deletion web/themes/custom/parc/css/api.css

This file was deleted.

1 change: 0 additions & 1 deletion web/themes/custom/parc/css/buttons.css

This file was deleted.

1 change: 0 additions & 1 deletion web/themes/custom/parc/css/components/accordion.css

This file was deleted.

1 change: 0 additions & 1 deletion web/themes/custom/parc/css/components/alert.css

This file was deleted.

1 change: 0 additions & 1 deletion web/themes/custom/parc/css/components/badge.css

This file was deleted.

This file was deleted.

1 change: 0 additions & 1 deletion web/themes/custom/parc/css/components/breadcrumb.css

This file was deleted.

1 change: 0 additions & 1 deletion web/themes/custom/parc/css/components/button-group.css

This file was deleted.

1 change: 0 additions & 1 deletion web/themes/custom/parc/css/components/card.css

This file was deleted.

Loading

0 comments on commit 3688810

Please sign in to comment.