Skip to content

chore(deps): update dependency typescript to v5 #42

chore(deps): update dependency typescript to v5

chore(deps): update dependency typescript to v5 #42

Workflow file for this run

# This workflow will do a clean installation of node dependencies, cache/restore them, build the source code and run tests across different versions of node
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-nodejs
name: Node.js CI for Server
on:
push:
branches: [ "develop" ]
pull_request:
branches: [ "develop" ]
defaults:
run:
working-directory: ./server
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4
- uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4
with:
node-version-file: '.nvmrc'
cache: 'npm'
cache-dependency-path: server/package-lock.json
- run: npm ci
- run: npm run lint
- run: npm run compile
- run: npm run jest -- --coverage
- name: Upload code coverage to Code Climate
uses: paambaati/codeclimate-action@7c100bd1ed15de0bdee476b38ca759d8c94207b5 # v8.0.0
env:
CC_TEST_REPORTER_ID: ${{secrets.CC_TEST_REPORTER_ID}}
with:
coverageLocations: |
${{github.workspace}}/server/coverage/lcov.info:lcov
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@e0b68c6749509c5f83f984dd99a76a1c1a231044 # v4.0.1
with:
token: ${{ secrets.CODECOV_TOKEN }}
directory: ${{github.workspace}}/server/coverage
flags: server