Skip to content

Commit

Permalink
Upgrade all packages (themetalfleece#61)
Browse files Browse the repository at this point in the history
Upgrade all packages to their latest versions
Also, fix Tests CI
  • Loading branch information
themetalfleece authored May 27, 2023
1 parent 5911f46 commit c1cf460
Show file tree
Hide file tree
Showing 3 changed files with 1,442 additions and 2,300 deletions.
23 changes: 7 additions & 16 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,32 +12,23 @@ jobs:
runTests:
runs-on: ubuntu-latest

env:
NEO4J_PASSWORD: cicicici

steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Run neo4j
run: docker run -d --restart always --publish=7474:7474 --publish=7687:7687 --env NEO4J_AUTH=neo4j/$NEO4J_PASSWORD neo4j:5.8.0
- name: Install dependencies
run: yarn
- name: Install neo4j
run: |
sudo add-apt-repository -y ppa:openjdk-r/ppa
sudo apt-get update
wget -O - https://debian.neo4j.com/neotechnology.gpg.key | sudo apt-key add -
echo 'deb https://debian.neo4j.com stable 4.4' | sudo tee -a /etc/apt/sources.list.d/neo4j.list
sudo apt-get update
sudo apt-get install neo4j
- name: Config neo4j
run: sudo neo4j-admin set-initial-password ci
- name: Start neo4j
run: sudo systemctl start neo4j.service
- name: Get neo4j status
run: sudo systemctl status neo4j.service
- name: Wait for neo4j
uses: ifaxity/wait-on-action@v1
uses: ifaxity/wait-on-action@v1.1.0
with:
resource: http://localhost:7474
- name: Run tests
run: |
export NEO4J_URL="bolt://localhost:7687"
export NEO4J_USERNAME="neo4j"
export NEO4J_PASSWORD="ci"
export NEO4J_PASSWORD="$NEO4J_PASSWORD"
yarn test
36 changes: 18 additions & 18 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,29 +10,29 @@
"dist/**/*"
],
"dependencies": {
"@types/revalidator": "^0.3.7",
"@types/revalidator": "^0.3.8",
"clone": "^2.1.2",
"dotenv": "^8.2.0",
"neo4j-driver": "^4.3.0",
"dotenv": "^16.0.3",
"neo4j-driver": "^5.9.0",
"revalidator": "^0.3.1",
"uuid": "^8.3.2"
"uuid": "^9.0.0"
},
"devDependencies": {
"@types/clone": "^2.1.0",
"@types/clone": "^2.1.1",
"@types/dotenv": "^8.2.0",
"@types/jest": "^26.0.19",
"@types/node": "^14.14.16",
"@types/uuid": "^8.3.0",
"@typescript-eslint/eslint-plugin": "^4.11.0",
"@typescript-eslint/parser": "^4.11.0",
"eslint": "^7.16.0",
"eslint-config-prettier": "^7.1.0",
"eslint-plugin-prettier": "^3.3.0",
"jest": "^26.6.3",
"prettier": "^2.2.1",
"rimraf": "^3.0.2",
"ts-jest": "^26.4.4",
"typescript": "^4.1.3"
"@types/jest": "^29.5.1",
"@types/node": "^20.2.4",
"@types/uuid": "^9.0.1",
"@typescript-eslint/eslint-plugin": "^5.59.7",
"@typescript-eslint/parser": "^5.59.7",
"eslint": "^8.41.0",
"eslint-config-prettier": "^8.8.0",
"eslint-plugin-prettier": "^4.2.1",
"jest": "^29.5.0",
"prettier": "^2.8.8",
"rimraf": "^5.0.1",
"ts-jest": "^29.1.0",
"typescript": "^5.0.4"
},
"scripts": {
"lint": "eslint --fix --quiet src/**/*.ts",
Expand Down
Loading

0 comments on commit c1cf460

Please sign in to comment.