fix(core): repair default client, packaging, and gateway ranking (2.0.2) #704
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: Core Library | |
| on: | |
| push: | |
| branches: [main, alpha, solana] | |
| paths: | |
| - "packages/wayfinder-core/**" | |
| - ".github/workflows/core.yml" | |
| - "package.json" | |
| pull_request: | |
| branches: [main, alpha, solana] | |
| paths: | |
| - "packages/wayfinder-core/**" | |
| - ".github/workflows/core.yml" | |
| - "package.json" | |
| jobs: | |
| lint: | |
| 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-core | |
| test: | |
| 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: Test | |
| run: npm run test:unit -w @ar.io/wayfinder-core | |
| 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: Build core library | |
| run: npm run build -w @ar.io/wayfinder-core |