Fixed frame detached error #475
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Jest Tests | |
on: | |
push: | |
branches: | |
- '*' | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/[email protected] | |
- name: Setup Node.js | |
uses: actions/[email protected] | |
with: | |
node-version: '20.x' | |
- name: Start MongoDB | |
uses: supercharge/[email protected] | |
with: | |
mongodb-version: '7.0.2' | |
mongodb-username: 'admin' | |
mongodb-password: 'admin' | |
- name: Install dependencies | |
run: npm ci | |
- name: Run tests | |
run: npm test | |
env: | |
MONGODB_URI: mongodb://admin:admin@localhost:27017 | |
JWT_SECRET: secret | |
AZURE_STORAGE_CONNECTION_STRING: 'DefaultEndpointsProtocol=https;AccountName=account;AccountKey=key;EndpointSuffix=core.windows.net' |