Skip to content

Build(deps): Bump step-security/harden-runner from 2.8.1 to 2.9.1 (#1… #479

Build(deps): Bump step-security/harden-runner from 2.8.1 to 2.9.1 (#1…

Build(deps): Bump step-security/harden-runner from 2.8.1 to 2.9.1 (#1… #479

Workflow file for this run

# Docs for the Azure Web Apps Deploy action: https://github.com/Azure/webapps-deploy
# More GitHub Actions for Azure: https://github.com/Azure/actions
name: Build mha
on:
push:
branches:
- main
workflow_dispatch:
permissions:
contents: read
jobs:
build:
runs-on: windows-latest
steps:
- name: Harden Runner
uses: step-security/harden-runner@5c7944e73c4c2a096b17a9cb74d65b6c2bbafbde # v2.9.1
with:
egress-policy: audit
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- name: Set up Node.js
uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4.0.3
with:
node-version: ${{ env.NODE_VERSION }}
cache: 'npm'
- name: NPM install, build
env:
SCM_COMMIT_ID: ${{ github.sha }}
APPINSIGHTS_INSTRUMENTATIONKEY: ${{ secrets.APPINSIGHTS_INSTRUMENTATIONKEY }}
run: |
npm ci
npm run build --if-present
- name: Upload artifact for deployment job
uses: actions/upload-artifact@89ef406dd8d7e03cfd12d9e0a4a378f454709029 # v4.3.5
with:
name: mha-assets
path: |
Pages
Resources
favicon.ico
Manifest*
LICENSE
README.md
package.json
.deployment
deploy.cmd
Web.config