fix(core): repair default client, packaging, and gateway ranking (2.0.2) #740
This file contains hidden or 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: React Components & Hooks | |
| on: | |
| push: | |
| branches: [main, alpha, solana] | |
| paths: | |
| - "packages/wayfinder-react/**" | |
| - "packages/wayfinder-core/**" | |
| - ".github/workflows/react.yml" | |
| - "package.json" | |
| pull_request: | |
| branches: [main, alpha, solana] | |
| paths: | |
| - "packages/wayfinder-react/**" | |
| - "packages/wayfinder-core/**" | |
| - ".github/workflows/react.yml" | |
| - "package.json" | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version-file: ".nvmrc" | |
| cache: "npm" | |
| - name: Install dependencies | |
| run: npm i | |
| - name: Lint | |
| run: npm run lint:check -w @ar.io/wayfinder-react | |
| - name: Build core library first | |
| run: npm run build -w @ar.io/wayfinder-core | |
| - name: Build React components | |
| run: npm run build -w @ar.io/wayfinder-react |