Skip to content

Commit

Permalink
Merge branch 'toolbar_handler_color_for_homepage' of github.com:RedTu…
Browse files Browse the repository at this point in the history
…rtle/volto into toolbar_handler_color_for_homepage
  • Loading branch information
sabrina-bongiovanni committed Jul 8, 2024
2 parents dcb4270 + 889b7e2 commit 1bf2ce7
Show file tree
Hide file tree
Showing 58 changed files with 1,232 additions and 535 deletions.
1 change: 1 addition & 0 deletions .github/ISSUE_TEMPLATE/PLIP.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ about: Plone Improvement Proposal
title: ''
labels: '03 type: feature (plip)'
assignees: ''
projects: 'plone/47'

---

Expand Down
50 changes: 50 additions & 0 deletions .github/actions/node_env_setup/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
name: Set up Node.js environment

runs:
using: "composite"
steps:
- uses: actions/checkout@v4

- name: Use Node.js ${{ inputs.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ inputs.node-version }}

- name: Enable corepack
shell: bash
run: corepack enable

- name: Get pnpm store directory
shell: bash
run: |
echo "STORE_PATH=$(pnpm store path --silent)" >> $GITHUB_ENV
- uses: actions/cache@v4
name: Setup pnpm cache
with:
path: ${{ env.STORE_PATH }}
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-pnpm-store-
- name: Cache Cypress Binary
id: cache-cypress-binary
uses: actions/cache@v4
with:
path: ~/.cache/Cypress
key: binary-${{ inputs.node-version }}-${{ hashFiles('pnpm-lock.yaml') }}

- name: Install Volto dependencies
shell: bash
run: pnpm i

- name: Install Cypress if not in cache
if: steps.cache-cypress-binary.outputs.cache-hit != 'true'
shell: bash
working-directory: packages/volto
run: make cypress-install

inputs:
node-version:
description: 'Node.js version'
required: true
Loading

0 comments on commit 1bf2ce7

Please sign in to comment.