Merge branch 'develop' into epic/ssr-error-handling #2954
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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@v2 | |
with: | |
path: | | |
node_modules | |
projects/storefrontapp-e2e-cypress/node_modules | |
~/.cache/Cypress | |
key: nodemodules-${{ github.sha }} |