Skip to content

Commit

Permalink
Upgrading to Node 18 (#43)
Browse files Browse the repository at this point in the history
* Bumping to node 18

* Fixing linting

* Lower NPM
  • Loading branch information
srtfisher authored Dec 12, 2023
1 parent 2d70ace commit 0af69a9
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 6 deletions.
3 changes: 3 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,8 @@
"extends": ["@alleyinteractive/eslint-config/typescript-react"],
"settings": {
"import/resolver": "webpack"
},
"globals": {
"wpPageCacheControl": true
}
}
1 change: 1 addition & 0 deletions .github/workflows/node-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,5 @@ jobs:
node-tests:
uses: alleyinteractive/.github/.github/workflows/node-tests.yml@main
with:
node: 18
run-audit: true
2 changes: 1 addition & 1 deletion .github/workflows/unit-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
php-tests:
strategy:
matrix:
php: [8.0, 8.1]
php: [8.1, 8.2]
wordpress: ["latest"]
uses: alleyinteractive/.github/.github/workflows/php-tests.yml@main
with:
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{
"name": "@alleyinteractive/wp-page-cache-control",
"version": "1.0.0-alpha.6",
"version": "1.0.0",
"license": "GPL-2.0-or-later",
"main": "./types/index.d.ts",
"types": "./types/index.d.ts",
"engines": {
"node": "16",
"npm": "8"
"node": "18",
"npm": ">=8"
},
"private": false,
"browserslist": [
Expand Down

0 comments on commit 0af69a9

Please sign in to comment.