Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
56 changes: 0 additions & 56 deletions .circleci/config.yml

This file was deleted.

File renamed without changes.
24 changes: 24 additions & 0 deletions .github/workflows/build-and-test.yml
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
Comment thread
rbcorrales marked this conversation as resolved.

15 changes: 15 additions & 0 deletions .github/workflows/build-distributable.yml
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

15 changes: 15 additions & 0 deletions .github/workflows/i18n.yml
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

23 changes: 23 additions & 0 deletions .github/workflows/php.yml
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

36 changes: 36 additions & 0 deletions .github/workflows/release.yml
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
Comment thread
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 }}
6 changes: 3 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
"type": "wordpress-plugin",
"require-dev": {
"composer/installers": "~1.6",
"automattic/vipwpcs": "^2.0.0",
"automattic/vipwpcs": "^3.0",
"wp-coding-standards/wpcs": "^3.0",
"brainmaestro/composer-git-hooks": "^2.6",
"wp-coding-standards/wpcs": "*",
"dealerdirect/phpcodesniffer-composer-installer": "*",
"phpcompatibility/phpcompatibility-wp": "*",
"phpunit/phpunit": "^9.6",
Expand Down Expand Up @@ -37,4 +37,4 @@
"dealerdirect/phpcodesniffer-composer-installer": true
}
}
}
}
Loading