Skip to content

Commit

Permalink
feat: move yagr to gravity-ui organization
Browse files Browse the repository at this point in the history
  • Loading branch information
Anton Standrik committed Dec 9, 2022
1 parent 58709d0 commit 24b3c27
Show file tree
Hide file tree
Showing 5 changed files with 64 additions and 36 deletions.
46 changes: 46 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
name: CI

on:
push:
branches: [main]
pull_request:
branches: [main]

jobs:
verify_files:
name: Verify Files
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Setup Node
uses: actions/setup-node@v2
with:
node-version: '14.x'
cache: 'npm'
- name: Install Packages
run: npm ci
- name: Lint Files
run: npm run lint
- name: Typecheck
run: npm run typecheck

tests:
name: Tests
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Setup Node
uses: actions/setup-node@v2
with:
node-version: '14.x'
cache: 'npm'
- name: Install Packages
run: npm ci
- name: Unit Tests
run: npm run test
30 changes: 0 additions & 30 deletions .github/workflows/node.js.yml

This file was deleted.

15 changes: 15 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
on:
push:
branches: [main]

name: Release

jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: gravity-ui/release-action@v1
with:
github-token: ${{ secrets.GRAVITY_UI_BOT_GITHUB_TOKEN }}
npm-token: ${{ secrets.GRAVITY_UI_BOT_NPM_TOKEN }}
node-version: 14
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 2 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "yagr",
"name": "@gravity-ui/yagr",
"version": "2.1.0",
"description": "High level wrapper for uPlot",
"keywords": [
Expand All @@ -19,10 +19,7 @@
"Trdat Mkrtchian <[email protected]>",
"Artem Luchin <[email protected]>"
],
"repository": {
"type": "git",
"url": "https://github.com/yandex-cloud/yagr"
},
"repository": "[email protected]:gravity-ui/yagr.git",
"license": "MIT",
"engines": {
"node": ">=16.0.0"
Expand Down

0 comments on commit 24b3c27

Please sign in to comment.