Create lint_test_and_build.yml

Add a git workflow
This commit is contained in:
uwap 2026-01-03 09:07:45 +01:00 committed by GitHub
parent c0f81a50ed
commit 6895b94279
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -0,0 +1,30 @@
name: Lint, Test and Build
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [22.x]
steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- name: Build
run: |
npm install
npm run lint
npm run test
npm run build