Skip to content

[Blockchain Watcher] (STANDARD RELAYER) Map scroll snaxchain and blas… #2186

[Blockchain Watcher] (STANDARD RELAYER) Map scroll snaxchain and blas…

[Blockchain Watcher] (STANDARD RELAYER) Map scroll snaxchain and blas… #2186

name: Run tests
on:
push:
branches: ["main"]
pull_request:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v3
- name: Prettify code
uses: creyD/prettier_action@master
with:
dry: True
prettier_options: --write ./blockchain-watcher
prettier_version: 2.8.7
- uses: actions/setup-node@v3
with:
node-version: 18
registry-url: https://npm.pkg.github.com
scope: '@xlabs'
cache: "npm"
cache-dependency-path: |
./blockchain-watcher/package-lock.json
- name: npm ci
run: npm ci
working-directory: ./blockchain-watcher
env:
NODE_AUTH_TOKEN: ${{ secrets.XLABS_TOKEN }}
- name: typecheck
run: npm run build
working-directory: ./blockchain-watcher
- name: Run tests
run: npm run test:coverage
working-directory: ./blockchain-watcher