Skip to content
Merged
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
26 changes: 26 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Run TypeScript Compiler

on:
push:
branches: [ develop ]
pull_request:
branches: [ develop ]

jobs:
lint:
runs-on: windows-latest
strategy:
matrix:
node-version: [18.18.2]
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
- name: Install npm
run: npm install npm@9.8.1 -g
- name: Install dependencies
run: npm ci
- name: Run typescript compiler
run: npm run build --if-present
18 changes: 9 additions & 9 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -1,26 +1,26 @@
name: eslint
name: Run ESLint Linter

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

jobs:
lint:
runs-on: windows-latest
strategy:
matrix:
node-version: [16.20.2]
node-version: [18.18.2]
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
- name: install npm
run: npm install npm@8.19.4 -g
- name: install dependencies
- name: Install npm
run: npm install npm@9.8.1 -g
- name: Install dependencies
run: npm ci
- name: run lint
run: npm run lint
- name: Run lint
run: npm run lint --if-present