mirror of
https://github.com/IT4Change/IT4C.dev.git
synced 2026-03-01 12:44:23 +00:00
- 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
23 lines
491 B
YAML
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
|