Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
See discussion: https://github.com/orgs/AlaskaAirlines/discussions/523 This code diff shows changes made to a YAML file named `testPublish.yml` and a JSON file named `package.json`. The changes include adding a new step `npm run build:test` in the `jobs` section of the YAML file and modifying the `build` script in the JSON file to include new scripts `build:test` and `build:release`. See discussion: https://github.com/orgs/AlaskaAirlines/discussions/556 Here's a brief description of the changes: 1. `.github/settings.yml`: This file is used to configure GitHub repository settings. The changes made here include: - The branch protection rules that were previously applied to the `main` branch are now defined under a YAML anchor `default_protection`. This allows the same set of rules to be reused for multiple branches. - The `main` and `beta` branches are now using the `default_protection` rules. 2. `.github/workflows/testPublish.yml`: This file defines a GitHub Actions workflow. The changes made here include: - The workflow is now triggered on `push` and `pull_request` events not only for the `main` branch but also for the `beta` branch. - The `release` job now runs if the event is a `push` to either the `main` or `beta` branch. 3. `package.json`: This file is used to manage the project's dependencies, scripts, version and more. The changes made here include: - The `release` configuration now includes the `beta` branch in addition to the `main` branch. The `beta` branch is marked as `prerelease`. This means that releases on the `beta` branch will be marked as pre-releases. Changes to be committed: modified: .github/settings.yml modified: .github/workflows/testPublish.yml modified: package.json
- Loading branch information