diff --git a/.github/workflows/cipp_dev_build.yml b/.github/workflows/cipp_dev_build.yml index 258533d53ed3..dafc659dca54 100644 --- a/.github/workflows/cipp_dev_build.yml +++ b/.github/workflows/cipp_dev_build.yml @@ -1,4 +1,4 @@ -name: CIPP Frontend Build +name: CIPP Frontend Dev Build on: push: @@ -6,9 +6,6 @@ on: - dev workflow_dispatch: -permissions: - contents: write - jobs: build: if: github.event.repository.fork == false @@ -18,11 +15,11 @@ jobs: steps: # Checkout the repository - name: Checkout Code - uses: actions/checkout@v3 + uses: actions/checkout@v4.2.2 # Set up Node.js - name: Set up Node.js - uses: actions/setup-node@v3 + uses: actions/setup-node@v4.2.0 with: node-version: '20.18.1' diff --git a/.github/workflows/cipp_frontend_build.yml b/.github/workflows/cipp_frontend_build.yml index 94376c5cd75d..c89bbfbf9187 100644 --- a/.github/workflows/cipp_frontend_build.yml +++ b/.github/workflows/cipp_frontend_build.yml @@ -28,7 +28,7 @@ jobs: # Install dependencies - name: Install Dependencies - run: npm install + run: yarn install # Build the project - name: Build Project @@ -38,6 +38,7 @@ jobs: - name: Prepare and Zip Build Files run: | mkdir -p build + cp staticwebapp.config.json out/ zip -r build/latest.zip out # Upload to Azure Blob Storage @@ -49,4 +50,3 @@ jobs: source_folder: build/ destination_folder: / delete_if_exists: true -