Skip to content

SDK: Port from certusone sdk to SDKv2 #670

SDK: Port from certusone sdk to SDKv2

SDK: Port from certusone sdk to SDKv2 #670

Workflow file for this run

name: Run tests
on:
push:
branches: ["main"]
pull_request:
jobs:
build:
runs-on: ubuntu-latest
env:
NODE_OPTIONS: "--max-old-space-size=2500"
steps:
- name: Checkout repo
uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 18
cache: "npm"
cache-dependency-path: |
./package-lock.json
- name: npm ci
run: npm ci
- name: typecheck
run: npm run build
- name: Run tests
run: npm test
prettier:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Prettify code
uses: creyD/prettier_action@master
with:
dry: True
prettier_options: --write .
prettier_version: 2.8.4 # Fixed version to prevent breaking changes as creyD/prettier_action uses the latest available by default
# github_token: ${{ secrets.PERSONAL_GITHUB_TOKEN }}