-
Notifications
You must be signed in to change notification settings - Fork 9
chore: deprecate circleci #296
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
10 commits
Select commit
Hold shift + click to select a range
e372ad1
chore: deprecate circleci
dkoo 5923238
fix: add wporg job
dkoo dd4da59
chore: use reusable WP.org release workflow
rbcorrales 05b104b
Merge pull request #298 from Automattic/chore/reusable-release-wporg
dkoo dc3cdbc
fix: add `lint:js` script to comply with reusable workflow
dkoo e5eea6d
Merge branch 'chore/deprecate-circle-ci' of https://github.com/Automa…
dkoo f6e006e
fix: restore dependabot config in correct path
dkoo 45f1c9b
fix: add missing build script
dkoo 533bd28
fix: update composer deps and PHPCS rules
dkoo 5e43409
fix: formatting and fixes for PHPCS
dkoo File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
File renamed without changes.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,24 @@ | ||
| name: Build and Test | ||
|
|
||
| on: | ||
| pull_request: | ||
| push: | ||
| branches: | ||
| - trunk | ||
| - release | ||
| - alpha | ||
| - 'hotfix/**' | ||
| - 'epic/**' | ||
|
|
||
| concurrency: | ||
| group: ${{ github.workflow }}-${{ github.ref }} | ||
| cancel-in-progress: true | ||
|
|
||
| jobs: | ||
| build: | ||
| uses: Automattic/newspack-scripts/.github/workflows/reusable-build.yml@trunk | ||
|
|
||
| lint-js-scss: | ||
| needs: build | ||
| uses: Automattic/newspack-scripts/.github/workflows/reusable-lint-js-scss.yml@trunk | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,15 @@ | ||
| name: Build distributable | ||
|
|
||
| on: | ||
| pull_request: | ||
|
|
||
| concurrency: | ||
| group: ${{ github.workflow }}-${{ github.ref }} | ||
| cancel-in-progress: true | ||
|
|
||
| jobs: | ||
| build-distributable: | ||
| uses: Automattic/newspack-scripts/.github/workflows/reusable-build-distributable.yml@trunk | ||
| with: | ||
| archive-name: republication-tracker-tool | ||
|
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,15 @@ | ||
| name: Internationalization | ||
|
|
||
| on: | ||
| push: | ||
| branches: | ||
| - trunk | ||
|
|
||
| concurrency: | ||
| group: ${{ github.workflow }}-${{ github.ref }} | ||
| cancel-in-progress: true | ||
|
|
||
| jobs: | ||
| i18n: | ||
| uses: Automattic/newspack-scripts/.github/workflows/reusable-i18n.yml@trunk | ||
|
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,23 @@ | ||
| name: PHP | ||
|
|
||
| on: | ||
| pull_request: | ||
| push: | ||
| branches: | ||
| - trunk | ||
| - release | ||
| - alpha | ||
| - 'hotfix/**' | ||
| - 'epic/**' | ||
|
|
||
| concurrency: | ||
| group: ${{ github.workflow }}-${{ github.ref }} | ||
| cancel-in-progress: true | ||
|
|
||
| jobs: | ||
| lint-php: | ||
| uses: Automattic/newspack-scripts/.github/workflows/reusable-lint-php.yml@trunk | ||
|
|
||
| test-php: | ||
| uses: Automattic/newspack-scripts/.github/workflows/reusable-test-php.yml@trunk | ||
|
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,36 @@ | ||
| name: Release | ||
|
|
||
| on: | ||
| push: | ||
| branches: | ||
| - release | ||
| - alpha | ||
| - 'hotfix/**' | ||
| - 'epic/**' | ||
|
|
||
| concurrency: | ||
| group: ${{ github.workflow }}-${{ github.ref }} | ||
| cancel-in-progress: true | ||
|
|
||
| jobs: | ||
| build: | ||
| uses: Automattic/newspack-scripts/.github/workflows/reusable-build.yml@trunk | ||
|
|
||
| release: | ||
| needs: build | ||
| uses: Automattic/newspack-scripts/.github/workflows/reusable-release.yml@trunk | ||
| secrets: | ||
| NPM_TOKEN: ${{ secrets.NPM_TOKEN }} | ||
|
|
||
| post-release: | ||
| if: github.ref == 'refs/heads/release' | ||
| needs: release | ||
|
rbcorrales marked this conversation as resolved.
|
||
| uses: Automattic/newspack-scripts/.github/workflows/reusable-post-release.yml@trunk | ||
|
|
||
| release-wporg: | ||
| if: github.ref == 'refs/heads/release' | ||
| needs: release | ||
| uses: Automattic/newspack-scripts/.github/workflows/reusable-release-wporg.yml@trunk | ||
| secrets: | ||
| WP_ORG_USERNAME: ${{ secrets.WP_ORG_USERNAME }} | ||
| WP_ORG_PASSWORD: ${{ secrets.WP_ORG_PASSWORD }} | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.