diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 44e7766..fb62462 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -13,13 +13,18 @@ jobs: runs-on: ubuntu-latest steps: + - name: Checkout Repository + uses: actions/checkout@v4 + - name: Set up Node.js uses: actions/setup-node@v4 with: node-version: 22 - - name: Checkout Repository - uses: actions/checkout@v4 + - name: Set up MongoDB + uses: supercharge/mongodb-github-action@v1 + with: + mongodb-version: 7 - name: Install Dependencies run: npm install diff --git a/README.md b/README.md index 163b5c4..e9a771c 100644 --- a/README.md +++ b/README.md @@ -23,7 +23,7 @@ Unit Tests + src="https://github.com/stepanjakl/apostrophe-stripe-products/actions/workflows/tests.yml/badge.svg?branch=main">

diff --git a/package.json b/package.json index 9e1ea05..39d099b 100644 --- a/package.json +++ b/package.json @@ -35,9 +35,9 @@ "eslint-plugin-node": "^11.1.0", "eslint-plugin-promise": "^6.1.1", "eslint-plugin-vue": "^9.26.0", - "mocha": "^10.4.0", + "mocha": "^10.x.x", "read-only-field": "npm:@stepanjakl/apostrophe-read-only-field@latest", - "stripe": "^15.6.0", + "stripe": "^15.x.x", "stylelint": "^15.x.x", "stylelint-config-apostrophe": "^3.0.2" },