mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-01-14 06:43:25 +08:00
ci(e2e): skip caching in actions/setup-node
Skip caching `pnpm` in `actions/setup-node`, because the `cypress-io/github-action` natively supports caching `pnpm`, as of [cypress-io/github-action@v4.2.0][1]. [1]: https://github.com/cypress-io/github-action/releases/tag/v4.2.0
This commit is contained in:
parent
6b5221e465
commit
f0a73696f5
4
.github/workflows/e2e.yml
vendored
4
.github/workflows/e2e.yml
vendored
@ -21,11 +21,7 @@ jobs:
|
||||
|
||||
- name: Setup Node.js ${{ matrix.node-version }}
|
||||
uses: actions/setup-node@v3
|
||||
# Need to skip setup if Cypress run is skipped, otherwise an error
|
||||
# is thrown since the pnpm cache step fails
|
||||
if: ${{ ( env.CYPRESS_RECORD_KEY != '' ) || ( matrix.containers == 1 ) }}
|
||||
with:
|
||||
cache: pnpm
|
||||
node-version: ${{ matrix.node-version }}
|
||||
|
||||
# Install NPM dependencies, cache them correctly
|
||||
|
Loading…
x
Reference in New Issue
Block a user