Skip to content

Commit e433a21

Browse files
miguelpeixedkoo
authored andcommitted
chore: deprecate circle ci (#4413)
1 parent cf3b03e commit e433a21

7 files changed

Lines changed: 107 additions & 52 deletions

File tree

.circleci/config.yml

Lines changed: 0 additions & 50 deletions
This file was deleted.
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: Build and Test
2+
3+
on:
4+
pull_request:
5+
push:
6+
branches:
7+
- trunk
8+
- release
9+
- alpha
10+
- 'hotfix/**'
11+
- 'epic/**'
12+
13+
concurrency:
14+
group: ${{ github.workflow }}-${{ github.ref }}
15+
cancel-in-progress: true
16+
17+
jobs:
18+
build:
19+
uses: Automattic/newspack-scripts/.github/workflows/reusable-build.yml
20+
21+
lint-js-scss:
22+
needs: build
23+
uses: Automattic/newspack-scripts/.github/workflows/reusable-lint-js-scss.yml
24+
25+
test-js:
26+
needs: build
27+
uses: Automattic/newspack-scripts/.github/workflows/reusable-test-js.yml
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
name: Build distributable
2+
3+
on:
4+
pull_request:
5+
6+
concurrency:
7+
group: ${{ github.workflow }}-${{ github.ref }}
8+
cancel-in-progress: true
9+
10+
jobs:
11+
build-distributable:
12+
uses: Automattic/newspack-scripts/.github/workflows/reusable-build-distributable.yml
13+
with:
14+
archive-name: newspack-plugin

.github/workflows/i18n.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
name: Internationalization
2+
3+
on:
4+
push:
5+
branches:
6+
- trunk
7+
8+
concurrency:
9+
group: ${{ github.workflow }}-${{ github.ref }}
10+
cancel-in-progress: true
11+
12+
jobs:
13+
i18n:
14+
uses: Automattic/newspack-scripts/.github/workflows/reusable-i18n.yml

.github/workflows/php.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: PHP
2+
3+
on:
4+
pull_request:
5+
push:
6+
branches:
7+
- trunk
8+
- release
9+
- alpha
10+
- 'hotfix/**'
11+
- 'epic/**'
12+
13+
concurrency:
14+
group: ${{ github.workflow }}-${{ github.ref }}
15+
cancel-in-progress: true
16+
17+
jobs:
18+
lint-php:
19+
uses: Automattic/newspack-scripts/.github/workflows/reusable-lint-php.yml
20+
21+
test-php:
22+
uses: Automattic/newspack-scripts/.github/workflows/reusable-test-php.yml

.github/workflows/release.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: Release
2+
3+
on:
4+
push:
5+
branches:
6+
- release
7+
- alpha
8+
- 'hotfix/**'
9+
- 'epic/**'
10+
11+
concurrency:
12+
group: ${{ github.workflow }}-${{ github.ref }}
13+
cancel-in-progress: true
14+
15+
jobs:
16+
build:
17+
uses: Automattic/newspack-scripts/.github/workflows/reusable-build.yml
18+
19+
release:
20+
needs: build
21+
uses: Automattic/newspack-scripts/.github/workflows/reusable-release.yml
22+
secrets:
23+
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
24+
25+
post-release:
26+
if: github.ref == 'refs/heads/release'
27+
needs: release
28+
uses: Automattic/newspack-scripts/.github/workflows/reusable-post-release.yml

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)