name: lint test CI

on: push

jobs:
  build-test:
    name: Lint Test
    runs-on: ubuntu-latest
    steps:
      - name: Checkout code
        uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 #v5.0.0

      - name: Setup Node 22.13.1
        uses: actions/setup-node@a0853c24544627f65ddf259abe73b1d18a591444 # v4.0.3
        with:
          node-version: '22.13.1'

      - name: npm-install
        run: npm install
      
      - name: npm-test
        run: npm test
