IT4C.dev/.github/workflows/test-lint.yml
mahula 341764925e
fix(workflow): unify Node.js version config via .tool-versions (#637)
- Remove redundant .nvmrc (superseded by .tool-versions)
- Update test-build.yml and test-lint.yml to use node-version-file
  instead of hardcoded node-version, matching backend workflows
2026-02-06 02:43:22 +01:00

23 lines
491 B
YAML

name: lint test CI
on: push
jobs:
build-test:
name: Lint Test
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd #v6.0.2
- name: Setup Node
uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v4.0.3
with:
node-version-file: './.tool-versions'
- name: npm-install
run: npm install
- name: npm-test
run: npm test