Skip to content

build(deps): bump express from 4.18.1 to 4.19.2 in /src/Heartbeat/ClientApp #40

build(deps): bump express from 4.18.1 to 4.19.2 in /src/Heartbeat/ClientApp

build(deps): bump express from 4.18.1 to 4.19.2 in /src/Heartbeat/ClientApp #40

Workflow file for this run

name: Push NuGet package
on:
push:
branches: [ master ]
pull_request:
# Sequence of patterns matched against refs/heads
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
env:
# temp fix frontend build
# Treating warnings as errors because process.env.CI = true.
# Most CI servers set it automatically.
CI: 'false'
steps:
- uses: actions/checkout@v4
- name: Setup .NET
uses: actions/setup-dotnet@v4.0.0
with:
global-json-file: global.json
- uses: actions/setup-node@v4
with:
# Version Spec of the version to use in SemVer notation.
# It also emits such aliases as lts, latest, nightly and canary builds
# Examples: 12.x, 10.15.1, >=10.15.0, lts/Hydrogen, 16-nightly, latest, node
node-version: 20
- name: Install dependencies
run: dotnet restore
- name: Build
run: |
echo "running on $GITHUB_REF_NAME"
dotnet build --configuration Release --no-restore
# - name: Test
# run: dotnet test --configuration Release --no-build --verbosity normal
- name: Pack release
if: ${{ github.ref_name == 'master' }}
run: dotnet pack --configuration Release --no-build
- name: Pack RC
if: ${{ github.ref_name != 'master' }}
run: dotnet pack --configuration Release --no-build --version-suffix "rc.${GITHUB_RUN_NUMBER}"
- name: Push
run: dotnet nuget push ./src/Heartbeat/nupkg/*.nupkg -k ${{ secrets.NUGET_ORG_API_KEY }} -s https://api.nuget.org/v3/index.json --skip-duplicate