OPHY-711: Move :payment-service-sftp under :server #713
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build and test master | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
build: | |
uses: ./.github/workflows/_build.yaml | |
secrets: inherit | |
generate-playwright-report: | |
name: Generate report from Playwright runs | |
runs-on: ubuntu-22.04 | |
needs: build | |
if: ${{ !cancelled() }} | |
permissions: | |
contents: read | |
pages: write | |
id-token: write | |
environment: | |
name: github-pages | |
url: ${{steps.pages-deployment.outputs.page_url}} | |
concurrency: github-pages | |
steps: | |
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4 | |
- uses: actions/setup-node@0a44ba7841725637a19e28fa30b79a866c81b0a6 # v4 | |
with: | |
node-version-file: '.nvmrc' | |
cache: 'npm' | |
- run: npm ci | |
- uses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4 | |
with: | |
path: all-blob-reports | |
pattern: playwright-blob-* | |
merge-multiple: true | |
- run: npx playwright merge-reports --reporter github,html ./all-blob-reports | |
- uses: actions/upload-artifact@50769540e7f4bd5e21e526ee35c689e35e0d6874 # v4 | |
with: | |
name: playwright-html-report | |
path: playwright-report | |
retention-days: 14 | |
- name: Setup Pages | |
uses: actions/configure-pages@983d7736d9b0ae728b81ab479565c72886d7745b # v5 | |
- name: Upload Artifact | |
uses: actions/upload-pages-artifact@56afc609e74202658d3ffba0e8f6dda462b719fa # v3 | |
with: | |
path: 'playwright-report' | |
- name: Deploy artifact | |
id: pages-deployment | |
uses: actions/deploy-pages@d6db90164ac5ed86f2b6aed7e0febac5b3c0c03e # v4 | |
deploy: | |
needs: build | |
uses: ./.github/workflows/_deploy-all.yaml | |
secrets: inherit |