I have the following bitbucket-pipeline.yml :
image: node:18.14.2
pipelines:
default:
- step:
name: Playwright Tests
image: mcr.microsoft.com/playwright:v1.29.2-focal
script:
- npm ci
- node -v
# - Run the test cases
- npx playwright test
artifacts:
- playwright-report/index.html
And no matter what version of node I use for the image the node -v command always shows
v16.19.0