Skip to content

chore: add testnet phobos-2 #203

chore: add testnet phobos-2

chore: add testnet phobos-2 #203

name: Typescript CI
on:
workflow_call:
workflow_dispatch:
pull_request:
push:
branches:
- main
jobs:
lint:
name: Lint and check formatting
runs-on: ubuntu-latest
defaults:
run:
working-directory: npm
steps:
- uses: actions/checkout@v4
with:
submodules: true
- uses: pnpm/action-setup@v3
with:
version: 9
- name: Install dependencies
run: pnpm install
- name: Run eslint
run: pnpm lint
- name: Check formatting
run: pnpm format-check
build:
name: Build
runs-on: ubuntu-latest
defaults:
run:
working-directory: npm
steps:
- uses: actions/checkout@v3
with:
submodules: true
- uses: pnpm/action-setup@v3
with:
version: 9
- name: Install dependencies
run: pnpm install
- name: Build
run: pnpm build
test:
name: Test
runs-on: ubuntu-latest
defaults:
run:
working-directory: npm
steps:
- uses: actions/checkout@v3
with:
submodules: true
- uses: pnpm/action-setup@v3
with:
version: 9
- uses: buildjet/setup-node@v4
with:
node-version: '22'
- name: Install dependencies
run: pnpm install
- name: Build
run: pnpm test