Skip to content

Commit d6b1d73

Browse files
authored
Merge pull request #189 from BeAPI/chore/replace-yarn-with-npm
chore: replace Yarn with npm and refresh frontend tooling
2 parents a2b2f38 + 3bddbb4 commit d6b1d73

19 files changed

Lines changed: 37594 additions & 22489 deletions

File tree

‎.github/workflows/node.js.yml‎

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# This workflow will do a clean install of node dependencies and build the source code.
2+
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
3+
4+
name: Node.js CI
5+
6+
on:
7+
pull_request:
8+
branches: [ master ]
9+
10+
jobs:
11+
build:
12+
13+
runs-on: ubuntu-latest
14+
15+
steps:
16+
- uses: actions/checkout@v7
17+
- name: Use Node.js from package.json
18+
uses: actions/setup-node@v7
19+
with:
20+
node-version-file: package.json
21+
cache: npm
22+
- run: npm ci
23+
- run: npm run build

‎.github/workflows/php-quality.yml‎

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: PHP Quality
2+
3+
on:
4+
pull_request:
5+
branches: [ master ]
6+
7+
jobs:
8+
run:
9+
runs-on: ubuntu-latest
10+
strategy:
11+
fail-fast: false
12+
matrix:
13+
php-versions: [ '8.3' ]
14+
name: PHP ${{ matrix.php-versions }} Test
15+
steps:
16+
- name: Checkout
17+
uses: actions/checkout@v1
18+
19+
- name: Setup PHP
20+
uses: shivammathur/setup-php@v2
21+
with:
22+
php-version: ${{ matrix.php-versions }}
23+
extensions: mbstring, intl #optional, setup extensions
24+
25+
- name: Check composer
26+
run: composer validate
27+
28+
- name: Add dependencies
29+
run: composer install
30+
31+
- name: Check cs
32+
run: composer cs

‎.gitignore‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
!.yarn/sdks
88
!.yarn/versions
99
node_modules/
10-
package-lock.json
1110

1211
.wp-env/mu-plugins/
1312
.wp-env/plugins/*

‎.yarn/releases/yarn-4.5.0.cjs‎

Lines changed: 0 additions & 925 deletions
This file was deleted.

‎.yarn/sdks/eslint/bin/eslint.js‎

Lines changed: 0 additions & 20 deletions
This file was deleted.

‎.yarn/sdks/eslint/lib/api.js‎

Lines changed: 0 additions & 20 deletions
This file was deleted.

‎.yarn/sdks/eslint/package.json‎

Lines changed: 0 additions & 6 deletions
This file was deleted.

‎.yarn/sdks/integrations.yml‎

Lines changed: 0 additions & 5 deletions
This file was deleted.

‎.yarn/sdks/prettier/index.js‎

Lines changed: 0 additions & 20 deletions
This file was deleted.

‎.yarn/sdks/prettier/package.json‎

Lines changed: 0 additions & 6 deletions
This file was deleted.

0 commit comments

Comments
 (0)