feat: add ability to use latest stable version of chrome #2779
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: Renderscript | |
on: | |
push: | |
branches: | |
- 'master' | |
- 'renovate/**' | |
pull_request: | |
env: | |
COMMIT_SHA: ${{ github.event.pull_request.head.sha || github.sha }} | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
name: Lint | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install Node | |
uses: actions/setup-node@v3 | |
with: | |
node-version-file: .nvmrc | |
cache: yarn | |
- run: yarn install --frozen-lockfile | |
- name: Run Linter | |
run: yarn lint | |
tests: | |
runs-on: ubuntu-latest | |
name: Tests | |
needs: lint | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install Node | |
uses: actions/setup-node@v3 | |
with: | |
node-version-file: .nvmrc | |
cache: yarn | |
- run: yarn install --frozen-lockfile | |
- name: Install Playwright browsers | |
run: yarn playwright install | |
- name: Build | |
run: yarn build | |
- name: Background process | |
run: | | |
yarn ci:start & | |
- name: Run test | |
run: yarn test |