Commit graphql generated artifacts #1315
Workflow file for this run
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: QA | |
on: | |
pull_request: | |
types: | |
- synchronize | |
- opened | |
jobs: | |
lint: | |
runs-on: ubuntu-22.04 | |
env: | |
HUSKY: 0 | |
APL: file | |
MAILCHIMP_CLIENT_ID: "mocked" | |
MAILCHIMP_CLIENT_SECRET: "mocked" | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup PNPM | |
uses: pnpm/action-setup@fe02b34f77f8bc703788d5817da081398fad5dd2 # v4.0.0 | |
with: | |
run_install: | | |
- args: [--frozen-lockfile] | |
- name: Check linter | |
run: pnpm lint | |
- name: Check types | |
run: pnpm check-types | |
- name: Check package dependencies | |
run: pnpm lint:packages | |
- name: Check for changes in graphql files | |
run: | | |
pnpm generate | |
git diff --name-status --exit-code . | |
test: | |
runs-on: ubuntu-22.04 | |
env: | |
HUSKY: 0 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup PNPM | |
uses: pnpm/action-setup@fe02b34f77f8bc703788d5817da081398fad5dd2 # v4.0.0 | |
with: | |
run_install: | | |
- args: [--frozen-lockfile] | |
- name: Run tests | |
run: pnpm test |