mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
Merge pull request #13750 from meteor/ci/work-on-meteor-profile-ci
dev: playing with ci check
This commit is contained in:
14
.github/workflows/run-profiler.yml
vendored
14
.github/workflows/run-profiler.yml
vendored
@@ -6,7 +6,7 @@ on:
|
||||
|
||||
jobs:
|
||||
run-profiler:
|
||||
if: github.event.issue.pull_request && contains(github.event.comment.body , '/profile')
|
||||
if: github.event.issue.pull_request && contains(github.event.comment.body , '/profile')
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout code
|
||||
@@ -14,20 +14,22 @@ jobs:
|
||||
- uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: 22.x
|
||||
- name: Set ENVs
|
||||
run: |
|
||||
value="VALUE"
|
||||
echo "Key=$value" >> $GITHUB_ENV
|
||||
|
||||
PR_NUMBER="${{ github.event.issue.number }}"
|
||||
echo "PrNumber=$PR_NUMBER" >> $GITHUB_ENV
|
||||
- name: Run CI
|
||||
env:
|
||||
IS_PR: ${{ github.event.issue.pull_request }}
|
||||
PR_BODY: ${{ github.event.comment.body }}
|
||||
run: |
|
||||
echo "Running meteor profiler..."
|
||||
echo $PR_NUMBER
|
||||
git status
|
||||
ls
|
||||
value="VALUE"
|
||||
echo $IS_PR
|
||||
echo $PR_BODY
|
||||
echo contains($PR_BODY, '/profile')
|
||||
echo "Key=$value" >> $GITHUB_ENV
|
||||
# Add your CI commands here
|
||||
|
||||
- name: Comment PR
|
||||
|
||||
Reference in New Issue
Block a user