Skip to content

Commit

Permalink
add workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
CFenner committed Jan 4, 2024
1 parent 79e2bd2 commit 0ad3826
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/validation.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: "Validation"

on:
push:
branches:
- main
pull_request:
branches:
- main
env:
node-version: 18.x

jobs:
eslint:
runs-on: ubuntu-latest
name: 'ESLint'
steps:
- name: Checkout Code
uses: actions/checkout@v4
- name: Use Node.js ${{ env.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ env.node-version }}
cache: "npm"
- name: Install Dependencies
run: npm clean-install
- name: Validate JS Sources
run: npm run validate:js

0 comments on commit 0ad3826

Please sign in to comment.