NickAkhmetov/CAT-777 Processed Data section #2934
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: ⬡ Node CI | |
on: | |
push: | |
branches: [main] | |
pull_request: {} | |
jobs: | |
build: | |
# Available versions: | |
# https://docs.github.com/en/free-pro-team@latest/actions/reference/workflow-syntax-for-github-actions#jobsjob_idruns-on | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
submodules: "recursive" | |
- name: Set up Node | |
uses: actions/setup-node@v4 | |
with: | |
node-version-file: ".nvmrc" | |
cache: "npm" | |
cache-dependency-path: context/package-lock.json | |
- run: npm --version | |
- name: Install node dependencies | |
run: npm ci --prefix context | |
- name: Run type check | |
run: npm run tsc --prefix context | |
- name: Run test script | |
run: etc/test/test-node.sh |