Skip to content

Commit

Permalink
Merge pull request #393 from timnolte/fix/20220318-dependabot-alerts
Browse files Browse the repository at this point in the history
Dependabot Security Related Fixes & Refactoring
  • Loading branch information
timnolte committed Mar 19, 2022
2 parents 30eafa5 + 82b0a00 commit 40f2bab
Show file tree
Hide file tree
Showing 7 changed files with 18,803 additions and 19,221 deletions.
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

0 comments on commit 40f2bab

Please sign in to comment.