Skip to content

Commit

Permalink
chore: Upgrade node to 18.17.1 (#467)
Browse files Browse the repository at this point in the history
  • Loading branch information
nickevansuk authored Jan 30, 2025
1 parent 89d924d commit 07d1dd1
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 15 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/eslint-auto-update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,10 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Use Node.js 14.x
- name: Use Node.js 18.17.1
uses: actions/setup-node@v1
with:
node-version: 14
node-version: 18.17.1
- name: Install
run: npm ci
- name: Lint test
Expand All @@ -48,10 +48,10 @@ jobs:
with:
fetch-depth: 0
ref: ${{ github.event.pull_request.head.ref }}
- name: Use Node.js 14.x
- name: Use Node.js 18.17.1
uses: actions/setup-node@v1
with:
node-version: 14
node-version: 18.17.1
- name: Install
run: npm ci
- name: Lint Fix
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/npm-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Use Node.js 14.x
- name: Use Node.js 18.17.1
uses: actions/setup-node@v1
with:
node-version: 14
node-version: 18.17.1
- name: Install
run: npm install
- name: Test
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/publish-to-npm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
jobs:
publish:
runs-on: ubuntu-latest
if: "!contains(github.event.head_commit.author.email, '[email protected]')"
if: ${{ !contains(github.event.head_commit.author.email, '[email protected]') }}

steps:
- name: Checkout
Expand All @@ -18,10 +18,10 @@ jobs:
run: |
git config user.name OpenActive Bot
git config user.email [email protected]
- name: Use Node.js 14.x
- name: Use Node.js 18.17.1
uses: actions/setup-node@v1
with:
node-version: 14
node-version: 18.17.1
registry-url: https://registry.npmjs.org/
- name: Install
run: npm install
Expand Down
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v14.16.0
v18.17.1
11 changes: 6 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@openactive/data-model-validator",
"version": "2.0.83",
"version": "3.0.0",
"description": "A library to allow a developer to validate a JSON document against the OpenActive Modelling Opportunity Specification",
"homepage": "https://openactive.io",
"author": "OpenActive Community <[email protected]>",
Expand All @@ -12,7 +12,8 @@
],
"main": "src/index.js",
"engines": {
"node": "14.16.0"
"node": ">=18.17.1",
"npm": ">=9.6.7"
},
"repository": {
"type": "git",
Expand All @@ -23,7 +24,7 @@
},
"license": "MIT",
"dependencies": {
"@openactive/data-models": "^2.0.294",
"@openactive/data-models": "^3.0.0",
"@types/lodash": "^4.14.182",
"axios": "^0.19.2",
"currency-codes": "^1.5.1",
Expand All @@ -41,13 +42,13 @@
"@types/jasmine": "^5.1.4",
"@types/jasmine-expect": "^3.8.1",
"@types/node": "^20.11.24",
"eslint": "^8.36.0",
"eslint": "^8.47.0",
"eslint-config-airbnb": "^19.0.4",
"eslint-plugin-import": "^2.27.5",
"jasmine": "^4.6.0",
"nock": "^13.3.0",
"sync-request": "^6.1.0",
"typescript": "^5.3.3"
"typescript": "^5.1.6"
},
"scripts": {
"lint": "eslint \"src/**/*.js\"",
Expand Down

0 comments on commit 07d1dd1

Please sign in to comment.