Skip to content
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

Dependabot Security Related Fixes & Refactoring #393

Merged
merged 1 commit into from Mar 19, 2022
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.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/i18n.yml
Expand Up @@ -27,7 +27,7 @@ jobs:
uses: actions/setup-node@v1
# https://github.com/marketplace/actions/setup-node-js-environment
with:
node-version: 12.x
node-version: 14.x

- name: Cache node modules
uses: actions/cache@v2
Expand All @@ -43,7 +43,7 @@ jobs:
${{ runner.os }}-

- name: NPM Install
run: npm install
run: npm ci

- name: Check i18n Compliance
run: npm run i18n:check
4 changes: 2 additions & 2 deletions .github/workflows/pr-unit-testing.yml
Expand Up @@ -42,7 +42,7 @@ jobs:
uses: actions/setup-node@v1
# https://github.com/marketplace/actions/setup-node-js-environment
with:
node-version: 12.x
node-version: 14.x

- name: Cache Composer dependencies
uses: actions/cache@v2
Expand All @@ -63,7 +63,7 @@ jobs:
run: composer install

- name: NPM Setup
run: npm install
run: npm ci

- name: Unit Tests
run: npm run test
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Expand Up @@ -23,7 +23,7 @@ jobs:
uses: actions/setup-node@v1
# https://github.com/marketplace/actions/setup-node-js-environment
with:
node-version: 12.x
node-version: 14.x

- name: Cache Node Modules
uses: actions/cache@v2
Expand All @@ -39,7 +39,7 @@ jobs:
${{ runner.os }}-

- name: NPM Install
run: npm install
run: npm ci

- name: Prepare a WordPress.org Release
run: npm run release
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/unit-testing.yml
Expand Up @@ -78,7 +78,7 @@ jobs:
uses: actions/setup-node@v1
# https://github.com/marketplace/actions/setup-node-js-environment
with:
node-version: 12.x
node-version: 14.x

- name: Cache Composer dependencies
uses: actions/cache@v2
Expand Down Expand Up @@ -111,7 +111,7 @@ jobs:
run: composer install

- name: NPM Setup
run: npm install
run: npm ci

- name: Unit Tests
env:
Expand Down
6 changes: 3 additions & 3 deletions composer.json
Expand Up @@ -91,9 +91,9 @@
"phpcs": "vendor/bin/phpcs",
"phpcbf": "vendor/bin/phpcbf",
"phpstan": "vendor/bin/phpstan",
"lint": "vendor/bin/phpcs --report=full",
"lint-fix": "vendor/bin/phpcbf",
"analyze": "vendor/bin/phpstan analyze"
"lint": "@phpcs --report=full",
"lint-fix": "@phpcbf",
"analyze": "@phpstan analyze"
},
"extra": {
"wordpress-install-dir": "wordpress",
Expand Down