E2E Code Quality Checks #16
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: E2E Code Quality Checks | |
run-name: E2E Code Quality Checks | |
on: | |
pull_request: | |
branches: [ main ] | |
paths: | |
- 'e2e/**' | |
push: | |
branches: [ main ] | |
paths: | |
- 'e2e/**' | |
jobs: | |
quality: | |
name: E2E Code Quality | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Set up Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: lts/* | |
- name: Cache Node.js dependencies | |
id: cache-node | |
uses: actions/cache@v4 | |
with: | |
path: e2e/node_modules | |
key: ${{ runner.os }}-node-${{ hashFiles('package-lock.json') }} | |
- name: Install dependencies | |
if: steps.cache-node.outputs.cache-hit != 'true' | |
run: make e2e-install-ci | |
- name: Check formatting | |
run: make e2e-format-check-native |