Skip to content

chore: bump @types/node from 20.12.12 to 20.14.0 (#824) #2337

chore: bump @types/node from 20.12.12 to 20.14.0 (#824)

chore: bump @types/node from 20.12.12 to 20.14.0 (#824) #2337

name: build-and-test
on:
pull_request:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-22.04
steps:
- name: Check out code
uses: actions/checkout@v3
- name: Set up Node 16
uses: actions/setup-node@v3
with:
node-version: '16'
cache: 'npm'
- name: NPM Install
run: npm ci
- name: Build
run: npm run build
test:
runs-on: ubuntu-22.04
steps:
- name: Check out code
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Set up Node 16
uses: actions/setup-node@v3
with:
node-version: '16'
cache: 'npm'
- name: NPM Install
run: npm ci
- name: Test
run: npm run test:prod
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v4
with:
fail_ci_if_error: true
token: ${{ secrets.CODECOV_TOKEN }}
- name: Publish Unit Test Results
uses: EnricoMi/publish-unit-test-result-action@v2
continue-on-error: true
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
files: test-results/**/*.xml