Skip to content

Commit

Permalink
Fixing lint and adding ci pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
aasimkhan30 committed Dec 12, 2024
1 parent 407c52f commit fd6f39e
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: PR checks
on:
pull_request:
branches:
- main

permissions:
contents: read
pull-requests: write

jobs:
checks:
runs-on: ubuntu-latest

steps:
- name: Checkout Repository
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: "18"

- name: Install Dependencies
run: npm install

- name: Run build
run: npm run build

- name: Run lint
run: npm run lint
1 change: 1 addition & 0 deletions src/ts/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the Source EULA.See License.txt in the project root for license information.
* --------------------------------------------------------------------------------------------*/

/// <reference path="./mxtypings/index.d.ts" />
import mx from 'mxgraph';
export * from 'mxgraph';
Expand Down

0 comments on commit fd6f39e

Please sign in to comment.