jobs:
  tests:
    runs-on:
      - nscloud-ubuntu-22.04-amd64-8x16-with-cache
      - nscloud-git-mirror-5gb
 
    container:
      image: mcr.microsoft.com/playwright:v1.39.0
      env:
        NSC_GIT_MIRROR: ${{ env.NSC_GIT_MIRROR }} # env.NSC_GIT_MIRROR contains the path to git mirror directory, that lives under `/gitmirror`.
      volumes:
        - /gitmirror:/gitmirror # Where the Cache Volume containing the git mirror is mounted.
 
    steps:
      - name: Checkout code
        uses: namespacelabs/nscloud-checkout-action@v7