Skip to content

OpenAPI spec initial + Feed Api + partial alignment with OpenAPI #23

OpenAPI spec initial + Feed Api + partial alignment with OpenAPI

OpenAPI spec initial + Feed Api + partial alignment with OpenAPI #23

Workflow file for this run

name: Test the SDK
on:
pull_request:
branches:
- stable
defaults:
run:
working-directory: sdk
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup Node
uses: actions/setup-node@v2
with:
node-version: '18.x'
registry-url: 'https://registry.npmjs.org'
- name: Install dependencies
run: npm install
- name: Run Prettier
run: npm run format:verify
- name: Run ESLint
run: npm run lint
- name: Run tests
env:
INTEGRATION_TESTS_YANDEX_MUSIC_TOKEN: ${{ secrets.INTEGRATION_TESTS_YANDEX_MUSIC_TOKEN }}
INTEGRATION_TESTS_YANDEX_MUSIC_UID: ${{ secrets.INTEGRATION_TESTS_YANDEX_MUSIC_UID }}
run: npm run test