Skip to content

Commit

Permalink
Setup Action
Browse files Browse the repository at this point in the history
  • Loading branch information
JKTUNING committed Aug 31, 2023
1 parent 50ea13e commit ac942db
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 1 deletion.
25 changes: 25 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: NodeJS Lint

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

jobs:
build:
runs-on: ubuntu-latest

strategy:
matrix:
node-version: [16.x]

steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- run: npm i
- run: npm run lint:check
- run: npm run format:check
3 changes: 2 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"editor.tabSize": 2,
"editor.detectIndentation": false,
"editor.formatOnSave": false,
"editor.formatOnSave": true,
"ansible.python.interpreterPath": "/bin/python3",
}

0 comments on commit ac942db

Please sign in to comment.