Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build(deps-dev): bump @types/markdown-it from 12.2.3 to 14.1.2 #3

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# To get started with Dependabot version updates, you'll need to specify which
# package ecosystems to update and where the package manifests are located.
# Please see the documentation for all configuration options:
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates

version: 2
updates:
- package-ecosystem: "npm"
directory: "/"
schedule:
interval: "daily"
reviewers:
- "diplodoc-platform/devops"
open-pull-requests-limit: 5
26 changes: 26 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: CI

on:
push:
branches: [master]
pull_request:
branches: [master]

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: '18.x'
cache: 'npm'
- name: Install Packages
run: npm ci
- name: Lint Files
run: npm run lint
36 changes: 36 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
on:
push:
branches: [master]

name: release

permissions:
contents: write
pull-requests: write

jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v3
with:
node-version: 18
registry-url: 'https://registry.npmjs.org'
- run: npm ci
shell: bash
- uses: codex-team/action-nodejs-package-info@v1
id: package
- uses: GoogleCloudPlatform/release-please-action@v3
id: release
with:
token: ${{secrets.YC_UI_BOT_GITHUB_TOKEN}}
release-type: node
package-name: ${{steps.package.outputs.name}}
changelog-types: '[{"type":"feat","section":"Features","hidden":false},{"type":"fix","section":"Bug Fixes","hidden":false},{"type":"perf","section":"Performance Improvements","hidden":false}]'
bump-minor-pre-major: true
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{secrets.ROBOT_DATAUI_NPM_TOKEN}}
if: ${{ steps.release.outputs.release_created }}
shell: bash
37 changes: 37 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: Tests

on:
push:
branches: [master]
pull_request:
branches: ['**']

jobs:
test:
name: Node v${{ matrix.node-version }} on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
node-version: [18.x]
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
os: ${{ matrix.os }}
cache: 'npm'
- name: Install packages for project
run: npm ci
- run: npm run build
- name: Install packages for tests
run: |
cd tests
npm ci
- name: Run tests
run: |
cd tests
npm run test
16 changes: 8 additions & 8 deletions package-lock.json

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

5 changes: 1 addition & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,6 @@
"build": "npm run build:clean && npm run build:code",
"build:code": "tsc -p tsconfig.types.json && node scripts/bundle.js",
"build:clean": "rm -rf lib",
"build:dev": "npm run build:dev:clean && npm run build:dev:code",
"build:dev:code": "node scripts/development.js",
"build:dev:clean": "rm -rf dist",
"prepublishOnly": "npm run build",
"lint": "lint update && lint",
"lint:fix": "lint update && lint fix",
Expand All @@ -38,7 +35,7 @@
"@es-exec/api": "0.0.5",
"@esbuild-plugins/tsconfig-paths": "^0.1.2",
"@types/jest": "^27.5.2",
"@types/markdown-it": "12.2.3",
"@types/markdown-it": "14.1.2",
"@types/node": "^17.0.35",
"esbuild": "^0.17.18",
"esbuild-jest": "^0.5.0",
Expand Down
22 changes: 0 additions & 22 deletions scripts/development.js

This file was deleted.

Loading