Spitfire - migrate to shared CI workflows

Description

Summary: Use shared workflow templates from folio-org/.github instead of local copies.

Details: Loosely copying the shared workflow repo’s excellent UI README, which contains additional configuration options:

  1. Open a PR that replaces the .github/workflows/build-npm.yml and .github/workflows/build-npm-release.yml files with a single file, .github/workflows/ui.ymlwith the following content:

    name: Centralized workflow on: - push - pull_request - workflow_dispatch jobs: ui: # Use the shared workflow from https://github.com/folio-org/.github uses: folio-org/.github/.github/workflows/ui.yml@v1 # Only handle push events from the main branch or tags, to decrease PR noise if: github.ref_name == github.event.repository.default_branch || github.event_name != 'push' || github.ref_type == 'tag' secrets: inherit
  2. In the PR body, tag members of the infrastructure-frontend team who have the necessary GH privileges to change the PR merge requirements. They will turn off the steps from the old workflows and turn on those from the new workflows.

  3. Merge the PR.

  4. Profit!!!

Environment

None

Potential Workaround

None

Checklist

hide

Activity

Show:
Done

Details

Assignee

Reporter

Priority

Story Points

Sprint

Development Team

Spitfire

Fix versions

Release

Ramsons (R2 2024)

TestRail: Cases

Open TestRail: Cases

TestRail: Runs

Open TestRail: Runs
Created September 16, 2024 at 12:28 PM
Updated November 25, 2024 at 3:48 PM
Resolved October 16, 2024 at 6:42 AM
TestRail: Cases
TestRail: Runs

Flag notifications