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
47 changes: 0 additions & 47 deletions .circleci/config.yml

This file was deleted.

23 changes: 23 additions & 0 deletions .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
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
14 changes: 14 additions & 0 deletions .github/workflows/build-distributable.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
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: newspack-network
14 changes: 14 additions & 0 deletions .github/workflows/i18n.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
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
22 changes: 22 additions & 0 deletions .github/workflows/php.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
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
28 changes: 28 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
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
uses: Automattic/newspack-scripts/.github/workflows/reusable-post-release.yml@trunk