/
githubmirror
/
amphtml
Обзор
Документация
Войти
/
githubmirror
/
amphtml
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
.github/workflows/cross-platform-builds.yml
62 строки
2 KB
renovate[bot]
📦 Update subpackage devDependencies (#40198)
06 янв 2026, 23:32
Не верифицирован
06 янв 2026, 23:32
004f2d2
Код
Авторство
О чём код?
name: Cross-Platform Builds on: push: branches: - main permissions: contents: read jobs: compile: if: github.repository == 'ampproject/amphtml' strategy: matrix: platform: [ubuntu, macos, windows] flavor: [Build, Dist] fail-fast: false runs-on: ${{ matrix.platform }}-latest steps: - name: Harden Runner uses: step-security/harden-runner@20cf305ff2072d973412fa9b1e3a4f227bda3c76 # v2.14.0 with: egress-policy: audit # TODO: change to 'egress-policy: block' after couple of runs - name: Checkout Repo uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1 - name: Set Up Node uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0 with: node-version: lts/* - name: Install Dependencies run: bash ./.github/workflows/install_dependencies.sh - name: ${{ matrix.flavor }} run: node build-system/pr-check/cross-platform-builds.js --flavor=${{ matrix.flavor }} create-issue-on-error: if: failure() needs: compile permissions: contents: read issues: write runs-on: ubuntu-latest environment: create_issue_on_error steps: - name: Harden Runner uses: step-security/harden-runner@20cf305ff2072d973412fa9b1e3a4f227bda3c76 # v2.14.0 with: egress-policy: audit # TODO: change to 'egress-policy: block' after couple of runs - uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1 - name: Create issue on error uses: JasonEtco/create-an-issue@1b14a70e4d8dc185e5cc76d3bec9eab20257b2c5 # v2.9.2 with: filename: .github/create_issue_on_error.md env: GITHUB_TOKEN: ${{ secrets.AMPPROJECTBOT }} WORKFLOW_NAME: ${{ github.workflow }} MENTION: '@ampproject/release-on-duty' REPO_SLUG: ${{ github.repository }} RUN_ID: ${{ github.run_id }}