Skip to content

Bump @types/node from 20.8.6 to 20.8.7 in /report/report-ng #1094

Bump @types/node from 20.8.6 to 20.8.7 in /report/report-ng

Bump @types/node from 20.8.6 to 20.8.7 in /report/report-ng #1094

Workflow file for this run

name: Testing
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
workflow_dispatch:
permissions: # added using https://github.com/step-security/secure-workflows
contents: read
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Harden Runner
uses: step-security/harden-runner@1b05615854632b887b69ae1be8cbefe72d3ae423 # v2.6.0
with:
egress-policy: audit # TODO: change to 'egress-policy: block' after couple of runs
- uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0
- name: Set up JDK 8
uses: actions/setup-java@0ab4596768b603586c0de567f2430c30f5b0d2b0 # v3.13.0
with:
java-version: '8'
distribution: 'temurin'
cache: maven
- name: Set up Node
uses: actions/setup-node@5e21ff4d9bc1a8cf6de233a3057d20ec6b3fb69d # v3.8.1
with:
node-version: '14.15.1'
cache: 'yarn'
cache-dependency-path: report/report-ng/yarn.lock
- name: Build with Maven
run: mvn -B -Dnode=system package
- name: Save flow execution reports
uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 # v3.1.3
with:
name: flow_execution_reports
path: 'example/**/target/mctf/latest'
- name: Save angular coverage reports
uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 # v3.1.3
with:
name: angular_coverage
path: 'report/report-ng/coverage'
publish:
permissions:
contents: write # for stefanzweifel/git-auto-commit-action to push code in repo
needs: build
runs-on: ubuntu-latest
continue-on-error: true
concurrency: pages_branch
steps:
- name: Harden Runner
uses: step-security/harden-runner@1b05615854632b887b69ae1be8cbefe72d3ae423 # v2.6.0
with:
egress-policy: audit # TODO: change to 'egress-policy: block' after couple of runs
- name: Checkout
uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0
with:
ref: pages
- name: Download flow reports
uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a # v3.0.2
with:
name: flow_execution_reports
path: execution/ingest
- name: Download angular coverage
uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a # v3.0.2
with:
name: angular_coverage
path: ng_coverage/ingest
- name: Ingest
run: perl regen_index.pl $GITHUB_HEAD_REF >> $GITHUB_STEP_SUMMARY
- name: Commit
uses: stefanzweifel/git-auto-commit-action@8756aa072ef5b4a080af5dc8fef36c5d586e521d # v5.0.0
with:
branch: pages