Skip to content

Commit

Permalink
Merge pull request #172 from eexit/update_node_ghost_cli_versions
Browse files Browse the repository at this point in the history
Require Node v18 and Ghost CLI 1.25
  • Loading branch information
eexit authored Dec 6, 2023
2 parents b5e2033 + 00ffaf9 commit 348ea57
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 16
node-version: 18
- run: npm install -g yarn
- run: yarn
- run: yarn run eslint
Expand All @@ -25,7 +25,7 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 16
node-version: 18
registry-url: https://registry.npmjs.org/
- run: yarn install --frozen-lockfile
- run: yarn publish
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [14, 16]
node-version: [18]
steps:
- uses: actions/checkout@v3
- name: Node.js ${{ matrix.node-version }}
Expand All @@ -24,10 +24,10 @@ jobs:
- run: yarn run eslint
- run: yarn global add mocha
- name: Run yarn test
if: ${{ !startsWith(matrix.node-version, '16') }}
if: ${{ !startsWith(matrix.node-version, '18') }}
run: yarn test
- name: Run yarn coverage
if: ${{ startsWith(matrix.node-version, '16') }}
if: ${{ startsWith(matrix.node-version, '18') }}
uses: paambaati/[email protected]
env:
CC_TEST_REPORTER_ID: 0d3707693eec3617898169fa9d7f91a86d5a98a252beb81bd9fe89009647a456
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,11 @@
"scripts": {
"test": "mocha tests/index",
"coverage": "nyc --reporter=lcov mocha tests/index",
"eslint": "$(npm bin)/eslint ."
"eslint": "$(yarn bin)/eslint ."
},
"engines": {
"node": "^14.17.0 || ^16.13.0",
"cli": "^1.17.0"
"node": "^18",
"cli": "^1.25.0"
},
"dependencies": {
"@tryghost/debug": "^0.1.17",
Expand Down

0 comments on commit 348ea57

Please sign in to comment.