Merge branch 'develop-6.5.x' into epic/CXSPA-2897 #2154
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: '18' | |
jobs: | |
cacheNodeModules: | |
name: Cache node_modules | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Setup node | |
uses: actions/setup-node@v2 | |
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 }} |