Skip to content

Merge branch 'PE-7274-funding-source' into PE-7363-rnp-chart #1850

Merge branch 'PE-7274-funding-source' into PE-7363-rnp-chart

Merge branch 'PE-7274-funding-source' into PE-7363-rnp-chart #1850

Workflow file for this run

name: Build and Test
concurrency:
group: ${{ github.ref_name }}
cancel-in-progress: true
on:
push:
branches-ignore:
- main
- develop
workflow_dispatch:
workflow_call:
jobs:
lint_test_build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v2
with:
node-version-file: '.nvmrc'
cache: 'yarn'
- run: yarn --frozen-lockfile
- run: yarn lint:check
- run: yarn test
- run: yarn build
test-playwright:
runs-on: ubuntu-latest
needs: lint_test_build
if: github.ref_name == 'main'
steps:
- uses: actions/checkout@v3
- run: yarn --frozen-lockfile
# Cache Playwright browsers
- name: Cache Playwright browsers
uses: actions/cache@v3
with:
path: ~/.cache/ms-playwright
key: playwright-browsers-${{ runner.os }}-${{ hashFiles('yarn.lock') }}
restore-keys: |
playwright-browsers-${{ runner.os }}-
# Install Playwright browsers if not cached
- run: yarn playwright install
- run: yarn build
- run: yarn test:playwright