Skip to content

Remove NEAR wallet as it’s deprecated #44

Remove NEAR wallet as it’s deprecated

Remove NEAR wallet as it’s deprecated #44

Workflow file for this run

# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-nodejs
name: Node.js CI
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [16.x, 18.x]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: 'yarn'
- run: yarn config set script-shell /bin/bash
- run: yarn
- run: cd contract && yarn
- name: Unit tests coverage
run: npx nyc --reporter=lcov yarn test:all
- name: Report code coverage
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
- name: Build contract
run: yarn build:contract:debug