mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-08-15 06:19:24 +02:00
RefTest
This commit is contained in:
3
.github/workflows/e2e.yml
vendored
3
.github/workflows/e2e.yml
vendored
@@ -18,7 +18,7 @@ permissions:
|
||||
|
||||
env:
|
||||
# For PRs and MergeQueues, the target commit is used, and for push events, github.event.previous is used.
|
||||
targetHash: ${{ github.event.pull_request.base.sha || github.event.merge_group.base_sha || github.event.before }}
|
||||
targetHash: ${{ github.event.pull_request.base.sha || github.event.merge_group.base_sha || (github.event.before == '0000000000000000000000000000000000000000' && 'develop' || github.event.before) }}
|
||||
|
||||
jobs:
|
||||
cache:
|
||||
@@ -31,6 +31,7 @@ jobs:
|
||||
with:
|
||||
node-version: 18.x
|
||||
- run: |
|
||||
echo '${{ env.targetHash }}'
|
||||
echo '${{ toJson(github.event) }}'
|
||||
- name: Cache snapshots
|
||||
id: cache-snapshot
|
||||
|
Reference in New Issue
Block a user