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

Require Node v18 and Ghost CLI 1.25 #172

Merged
merged 1 commit into from
Dec 6, 2023
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.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading