Skip to content

Update all npm dependencies (2025-01-20) #446

Update all npm dependencies (2025-01-20)

Update all npm dependencies (2025-01-20) #446

Workflow file for this run

name: ci
on:
- push
- pull_request
env:
FORCE_COLOR: 3
concurrency:
group: ${{ github.ref_name }}
# Only cancel concurrent builds when we are not on the default branch. This
# way, if a commit breaks the default branch, we can more easily determine
# which commit caused the failure.
cancel-in-progress: ${{ github.ref_name != github.event.repository.default_branch }}
jobs:
ci:
name: CI
runs-on: ubuntu-latest
# Skip building tags; an identical job for the commit to which the tag
# points will be triggered anyway.
if: github.ref_type != 'tag'
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version-file: .nvmrc
cache: npm
- name: Prepare
run: npm clean-install
- name: Build
run: npx nr build
- name: Test
run: |
npx nr test.smoke
npx nr test.coverage
- name: Upload Coverage Report
uses: codecov/codecov-action@v5
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}