Skip to content

Bump github/codeql-action from 2.21.4 to 2.21.5 (#696) #181

Bump github/codeql-action from 2.21.4 to 2.21.5 (#696)

Bump github/codeql-action from 2.21.4 to 2.21.5 (#696) #181

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@8ca2b8b2ece13480cda6dacd3511b49857a23c09 # v2.5.1
with:
egress-policy: audit
- uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0
- name: Set up Node.js
uses: actions/setup-node@5e21ff4d9bc1a8cf6de233a3057d20ec6b3fb69d # v3.8.1
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@0b7f8abb1508181956e8e162db84b466c27e18ce # v3.1.2
with:
name: mha-assets
path: |
Pages
Resources
favicon.ico
Manifest*
LICENSE
README.md
package.json
.deployment
deploy.cmd
Web.config