[add-lint-and-ci] - added lint, ci and boilerplate for plugin building
This commit is contained in:
22
.github/workflows/ts-code-validation.yml
vendored
Normal file
22
.github/workflows/ts-code-validation.yml
vendored
Normal file
@@ -0,0 +1,22 @@
|
||||
name: Typescript - validate code (eslint)
|
||||
on: [pull_request]
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
jobs:
|
||||
ts-code-validation:
|
||||
runs-on: ubuntu-22.04
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
fetch-depth: 1
|
||||
- name: Merge branches
|
||||
uses: ./.github/actions/merge-branches
|
||||
- name: install node
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: 20.x
|
||||
- name: run npm install
|
||||
run: npm install
|
||||
- name: typescript code validation with eslint
|
||||
run: npm run lint
|
||||
Reference in New Issue
Block a user