Skip to content

Merge branch 'main' of https://github.com/PotLock/potlock-nextjs-app … #98

Merge branch 'main' of https://github.com/PotLock/potlock-nextjs-app …

Merge branch 'main' of https://github.com/PotLock/potlock-nextjs-app … #98

Workflow file for this run

# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
name: Execute all unit tests
on:
push:
branches: ["*"]
pull_request:
branches: [main, staging]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [20.x]
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"
- name: Install dependencies
run: yarn install --immutable --immutable-cache --check-cache
- name: Execute Unit tests
env:
NEXT_PUBLIC_NETWORK: mainnet
NEXT_PUBLIC_NADABOT_CONTRACT_ID: v2new.staging.nadabot.near
NEXT_PUBLIC_SOCIAL_DB_CONTRACT_ID: social.near
run: yarn test:unit