{"id":34039796,"url":"https://github.com/atos-actions/get-playwright-version","last_synced_at":"2026-04-02T13:38:36.215Z","repository":{"id":258863990,"uuid":"859820735","full_name":"atos-actions/get-playwright-version","owner":"atos-actions","description":"Extracts and outputs the Playwright version from a project's lockfile","archived":false,"fork":false,"pushed_at":"2026-03-27T01:59:42.000Z","size":1409,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-03-29T22:33:51.935Z","etag":null,"topics":["actions","atos","cicd","github","github-actions","lockfile","playwright","version"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/atos-actions.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2024-09-19T10:37:35.000Z","updated_at":"2026-03-27T01:59:36.000Z","dependencies_parsed_at":"2025-06-24T02:30:49.225Z","dependency_job_id":"65f70b77-836e-4913-b51f-72e24ea6b753","html_url":"https://github.com/atos-actions/get-playwright-version","commit_stats":null,"previous_names":["eviden-actions/get-playwright-version","atos-actions/get-playwright-version"],"tags_count":17,"template":false,"template_full_name":null,"purl":"pkg:github/atos-actions/get-playwright-version","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atos-actions%2Fget-playwright-version","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atos-actions%2Fget-playwright-version/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atos-actions%2Fget-playwright-version/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atos-actions%2Fget-playwright-version/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/atos-actions","download_url":"https://codeload.github.com/atos-actions/get-playwright-version/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atos-actions%2Fget-playwright-version/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31307181,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-02T12:59:32.332Z","status":"ssl_error","status_checked_at":"2026-04-02T12:54:48.875Z","response_time":89,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["actions","atos","cicd","github","github-actions","lockfile","playwright","version"],"created_at":"2025-12-13T21:50:06.190Z","updated_at":"2026-04-02T13:38:36.207Z","avatar_url":"https://github.com/atos-actions.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# get-playwright-version\n\nThis parses the your project's lockfile and returns the installed playwright version.\nSupported are `package-lock.json` (NPM), `yarn.lock` (Yarn 1), and `pnpm-lock.yaml` (PNPM).\n\nIf you are using the [Playwright Docker Image](https://mcr.microsoft.com/en-us/product/playwright/about) in your CI, Playwright strongly recommends using a [versioned tag](https://playwright.dev/docs/docker). This action can help you make sure your project's Playwright version matches the Playwright Docker Image version.\n\n[![Release](https://github.com/atos-actions/get-playwright-version/actions/workflows/release.yml/badge.svg#main)](https://github.com/atos-actions/get-playwright-version/actions/workflows/release.yml)\n\n## Prerequisites\n\nDefine whatever your action needs to run here\n\n## Usage\n\n```\nname: Playwright Tests\non:\n  push:\n    branches: [ main ]\n\njobs:\n  read-playwright-version:\n    name: 'Read Playwright Version'\n    runs-on: ubuntu-latest\n    inputs:\n      no-version-found: 'error'\n    outputs:\n      playwright-version: ${{ steps.get_playwright_version.outputs.playwright-version }}\n    steps:\n      - uses: actions/checkout@v4\n      - id: get_playwright_version\n\t\t\t\tuses: atos-actions/get-playwright-version@v1\n\n  playwright:\n    name: 'Run Playwright Tests'\n    runs-on: ubuntu-latest\n    needs: read-playwright-version\n    container:\n      image: mcr.microsoft.com/playwright:${{ needs.read-playwright-version.outputs.playwright-version }}-noble\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-node@v4\n      - name: Install dependencies\n        run: npm ci\n      - name: Run your tests\n        run: npx playwright test\n        env:\n          HOME: /root\n```\n\n### Inputs\n\n|        Name        |                                    Description                                     | Default |\n| :----------------: | :--------------------------------------------------------------------------------: | :-----: |\n| `no-version-found` | The message level when no Playwright version is found (`error`, `warning`, `info`) | `error` |\n\n### Outputs\n\n|         Name         |                    Description                    |  Example  |\n| :------------------: | :-----------------------------------------------: | :-------: |\n| `playwright-version` | The playwright version from the package-lock.json | `v1.47.1` |\n\n## Sources\n\nThanks to [@mxschmitt](https://github.com/mxschmitt) for coming up with the [workflow](https://github.com/microsoft/playwright/issues/32483#issuecomment-2348193597) this action is based on.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fatos-actions%2Fget-playwright-version","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fatos-actions%2Fget-playwright-version","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fatos-actions%2Fget-playwright-version/lists"}