Skip to content

Merge pull request #38 from 4-point-0/rimatik/near-provider-buy-for-user #90

Merge pull request #38 from 4-point-0/rimatik/near-provider-buy-for-user

Merge pull request #38 from 4-point-0/rimatik/near-provider-buy-for-user #90

Workflow file for this run

name: Run linter and tests
on: [push]
jobs:
validate:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v3
- name: setup node
uses: actions/setup-node@v3
with:
node-version: '18.12.0'
# global cache directory
cache: 'yarn'
cache-dependency-path: '**/yarn.lock'
# will cache node modules and only re-install them only if yarn.lock get updated
- name: setup cache node_modules
uses: actions/cache@v3
with:
path: '**/node_modules'
key: ${{ runner.os }}-modules-${{ hashFiles('**/yarn.lock') }}
- name: install modules
run: yarn install
- name: run eslint
run: yarn lint
- name: run serice and controller tests
run: yarn test