Skip to content

Commit

Permalink
Change Node version back after resetting.
Browse files Browse the repository at this point in the history
  • Loading branch information
desrosj committed Dec 6, 2023
1 parent f8f31e6 commit 0186507
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/performance.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,12 +71,13 @@ jobs:
# - Run performance tests (current commit).
# - Print performance tests results.
# - Check out target commit (target branch or previous commit).
# - Switch Node.js versions if different in the target branch.
# - Switch Node.js versions if necessary.
# - Install npm dependencies.
# - Build WordPress.
# - Run performance tests (previous/target commit).
# - Print target performance tests results.
# - Reset to original commit.
# - Switch Node.js versions if necessary.
# - Install npm dependencies.
# - Set the environment to the baseline version.
# - Run baseline performance tests.
Expand Down Expand Up @@ -214,6 +215,12 @@ jobs:
- name: Reset to original commit
run: git reset --hard $GITHUB_SHA

- name: Set up Node.js
uses: actions/setup-node@5e21ff4d9bc1a8cf6de233a3057d20ec6b3fb69d # v3.8.1
with:
node-version-file: '.nvmrc'
cache: npm

- name: Install npm dependencies
run: npm ci

Expand Down

0 comments on commit 0186507

Please sign in to comment.