Skip to content

Commit 7c83b28

Browse files
authored
Merge branch 'master' into victorenator-root-node
2 parents 4ec9162 + fb1bdb9 commit 7c83b28

File tree

4 files changed

+37
-2
lines changed

4 files changed

+37
-2
lines changed

.github/workflows/nodejs.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: Node CI
2+
3+
on:
4+
pull_request:
5+
branches:
6+
- master
7+
8+
jobs:
9+
build:
10+
11+
runs-on: ubuntu-latest
12+
13+
strategy:
14+
matrix:
15+
node-version: [8.x, 10.x, 12.x]
16+
17+
steps:
18+
- uses: actions/checkout@v1
19+
- name: Use Node.js ${{ matrix.node-version }}
20+
uses: actions/setup-node@v1
21+
with:
22+
node-version: ${{ matrix.node-version }}
23+
- name: npm install, build, and test
24+
run: |
25+
npm install
26+
npm run build --if-present
27+
npm test
28+
env:
29+
CI: true

index.d.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
11
export default class MarkdownToolbarElement extends HTMLElement {
22
readonly field: HTMLTextAreaElement | undefined | null;
33
}
4+
5+
declare global {
6+
interface Window {
7+
MarkdownToolbarElement: typeof MarkdownToolbarElement
8+
}
9+
}

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@github/markdown-toolbar-element",
3-
"version": "1.0.6",
3+
"version": "1.0.7",
44
"description": "Markdown formatting buttons for text inputs.",
55
"repository": "github/markdown-toolbar-element",
66
"main": "dist/index.umd.js",

0 commit comments

Comments
 (0)