Skip to content

fix(core): repair default client, packaging, and gateway ranking (2.0.2) #704

fix(core): repair default client, packaging, and gateway ranking (2.0.2)

fix(core): repair default client, packaging, and gateway ranking (2.0.2) #704

Workflow file for this run

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