build(deps): update dependency @types/dedent to v0.7.2 #11895
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
name: E2E | |
on: | |
pull_request: | |
branches: [main, rc] | |
jobs: | |
e2e: | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: skip for markdown only prs | |
id: markdown-check | |
run: | | |
current_branch="$(git rev-parse --abbrev-ref HEAD)" | |
# diff of branch excluding md | |
testable_changes=$(git diff --name-only "$current_branch" $(git merge-base "$current_branch" origin/main) -- . ':(exclude)*.md*') | |
echo "changed files: $testable_changes" | |
# skip if there are only md changes | |
if [ -z "$testable_changes" ]; then | |
echo "skip e2e" | |
echo "SKIP=true" >> $GITHUB_OUTPUT | |
else | |
echo "run e2e" | |
echo "SKIP=false" >> $GITHUB_OUTPUT | |
fi | |
- uses: actions/setup-node@v3 | |
with: | |
node-version-file: package.json | |
- run: npm install | |
- if: steps.markdown-check.outputs.SKIP == 'false' | |
run: npm run build && npm run test |