Skip to content

Trigger Build

Trigger Build #3469

on:
push:
branches:
- develop
- develop-*
- 'epic/**'
- release-*
name: Cache node modules
env:
NODE_VERSION: '20'
jobs:
cacheNodeModules:
name: Cache node_modules
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup node
uses: actions/setup-node@v4
with:
node-version: ${{ env.NODE_VERSION }}
- name: Installing root dependencies
run: npm ci
- name: Installing cypress dependencies
working-directory: projects/storefrontapp-e2e-cypress
run: npm ci
- name: Cache node_modules
id: cache-node-modules
uses: actions/cache@v4
with:
path: |
node_modules
projects/storefrontapp-e2e-cypress/node_modules
~/.cache/Cypress
key: nodemodules-${{ github.sha }}