Skip to content

Commit

Permalink
Merge pull request #10 from whonion/main
Browse files Browse the repository at this point in the history
[deps] remove fsevent | add dependabot.yml
  • Loading branch information
sradykoff authored Jul 8, 2024
2 parents 66dac2c + 7f9f33b commit 1022fe2
Show file tree
Hide file tree
Showing 5 changed files with 54 additions and 4 deletions.
23 changes: 23 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# Basic set up for three package managers

version: 2
updates:

# Maintain dependencies for GitHub Actions
- package-ecosystem: "github-actions"
# Workflow files stored in the default location of `.github/workflows`. (You don't need to specify `/.github/workflows` for `directory`. You can use `directory: "/"`.)
directory: "/"
schedule:
interval: "weekly"

# Maintain dependencies for npm
- package-ecosystem: "npm"
directory: "/"
schedule:
interval: "weekly"

# Maintain dependencies for Composer
- package-ecosystem: "composer"
directory: "/"
schedule:
interval: "weekly"
28 changes: 28 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: TypeScript Build

on:
push:
branches:
- main

jobs:
build:
runs-on: ubuntu-latest

steps:
- name: Checkout Repository
uses: actions/checkout@v4

- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 20

- name: Install Dependencies
run: npm i

- name: Set Global TypeScript
run: npm i -g typescript

- name: Build TypeScript
run: tsc --project tsconfig.json
4 changes: 2 additions & 2 deletions .github/workflows/npm-publish-github-packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ jobs:
publish-npm:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: lts/*
registry-url: https://registry.npmjs.org/
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Trading Open API - JS SDK

![Package build](https://github.com/whonion/invest-js/actions/workflows/build.yml/badge.svg)<br>
SDK для работы с OpenAPI Тинькофф Инвестиции, который можно использовать для создания торговых роботов.

`npm i @tinkoff/invest-js --save`
Expand Down
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@
"@grpc/grpc-js": "^1.5.0",
"@grpc/proto-loader": "^0.6.9",
"grpc-tools": "^1.11.2",
"fsevents": "^2.0.7",
"prettier": "^2.0.5",
"tslib": "^2.0.0",
"typescript": "^4.3.4"
Expand Down

0 comments on commit 1022fe2

Please sign in to comment.