REST Client for Warpcast's private APIs #1514
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: farcaster | |
on: | |
pull_request: | |
types: [opened, synchronize, reopened] | |
push: | |
branches: | |
- main | |
- beta | |
jobs: | |
farcaster: | |
runs-on: ubuntu-latest | |
concurrency: | |
group: ci | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: volta-cli/[email protected] | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 18 | |
- run: yarn --frozen-lockfile | |
- name: Build | |
run: yarn workspaces foreach --all --topological run build | |
- name: Type check | |
run: yarn type:check | |
- name: Lint check | |
run: yarn lint:check | |
- name: Spell check | |
run: yarn spell:check | |
- name: Check for unstaged changes to generated code | |
run: yarn workspaces foreach --all run generate && git diff --exit-code | |
- name: Test | |
run: yarn workspaces foreach --all run test | |
env: | |
INTEGRATION_TEST_NEYNAR_API_KEY: ${{ secrets.INTEGRATION_TEST_NEYNAR_API_KEY }} | |
INTEGRATION_TEST_NEYNAR_SIGNER_UUID: ${{ secrets.INTEGRATION_TEST_NEYNAR_SIGNER_UUID }} | |
INTEGRATION_TEST_NEYNAR_SIGNER_PUBLIC_KEY: ${{ secrets.INTEGRATION_TEST_NEYNAR_SIGNER_PUBLIC_KEY }} | |
INTEGRATION_TEST_NEYNAR_SIGNER_FID: ${{ secrets.INTEGRATION_TEST_NEYNAR_SIGNER_FID }} | |
INTEGRATION_TEST_HUB_SIGNER_PRIVATE_KEY: ${{ secrets.INTEGRATION_TEST_HUB_SIGNER_PRIVATE_KEY }} |