Skip to content

keyvalue test, entity id exists #77

keyvalue test, entity id exists

keyvalue test, entity id exists #77

Workflow file for this run

# This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
name: build
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
timeout-minutes: 4
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest]
node-version: [16.x,18.x,20.x]
runs-on: ${{ matrix.os }}
steps:
- name: Check out repository code
uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: Setup DynamoDB Local
uses: rrainn/dynamodb-action@v2.0.1
with:
dbPath: # undefined by default, if this is undefined inMemory will be used
sharedDb: # undefined by default
delayTransientStatuses: # undefined by default
optimizeDbBeforeStartup: # undefined by default
port: 18000
cors: '*'
- name: Install dependencies
run: npm install
- name: Create DynamoDB collections for testing
run: npm run test-create-db
- name: Run the tests
run: npm test