Skip to content

create model method to check default plan is free or not + add unit tests #2936

create model method to check default plan is free or not + add unit tests

create model method to check default plan is free or not + add unit tests #2936

Workflow file for this run

name: Lint
on:
push:
branches:
- main
pull_request:
workflow_dispatch:
jobs:
golangci:
runs-on: ubuntu-latest
steps:
- uses: actions/setup-go@v4
with:
go-version: "1.22.5"
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: golangci-lint
uses: golangci/golangci-lint-action@v3
with:
version: v1.56.2
js-sdk-lint:
name: JS SDK Lint
runs-on: ubuntu-latest
timeout-minutes: 10
defaults:
run:
working-directory: ./sdks/js
steps:
- name: Checkout 🛎️
uses: actions/checkout@v4
- name: Setup pnpm 8
uses: pnpm/action-setup@v2
with:
version: 8.6.9
- name: Setup Node.js 20.x
uses: actions/setup-node@v2
with:
node-version: 20.x
- name: Install Dependencies 🔧
run: pnpm i
- name: Check Lint 🔧
run: npm run lint