Skip to content

Commit

Permalink
chore: node version
Browse files Browse the repository at this point in the history
  • Loading branch information
Joozty committed Jan 17, 2025
1 parent 334aae5 commit 9c79994
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/actions/install-playwright/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@ description: 'Install Playwright browser binaries and OS dependencies'
runs:
using: 'composite'
steps:
- name: Get Node.js version
id: node-version
run: echo "node=$(node -v)" >> $GITHUB_ENV

- name: Get installed Playwright version
id: playwright-version
shell: bash
Expand All @@ -20,7 +24,7 @@ runs:
id: playwright-cache
with:
path: ${{ env.PLAYWRIGHT_CACHE_PATH }}
key: '${{ runner.os }}-playwright-cache-${{ env.PLAYWRIGHT_VERSION }}-splunk-otel-js-web-artifacts'
key: '${{ runner.os }}-node-${{ steps.node-version.outputs.node }}-playwright-cache-${{ env.PLAYWRIGHT_VERSION }}-splunk-otel-js-web-artifacts'

- name: Install Playwright browser binaries
if: steps.playwright-cache.outputs.cache-hit != 'true'
Expand Down

0 comments on commit 9c79994

Please sign in to comment.