v1.6.0 JSDoc, improved docs, deps bumped, better attributes support in get and batchGet #24
Workflow file for this run
This file contains hidden or 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: Publish to NPM | |
| on: | |
| release: | |
| types: [created] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v3 | |
| - name: Setup Node | |
| uses: actions/setup-node@v3 | |
| with: | |
| node-version: '22.x' | |
| registry-url: 'https://registry.npmjs.org' | |
| - name: Install dependencies ⏳ | |
| run: npm ci | |
| - name: Lint 🧹 | |
| run: npm run lint | |
| - name: Test Unit 🧪 | |
| run: npm run test | |
| - name: Test types 🛠️ | |
| run: npm run test:types | |
| - name: Setup DynamoDB Local | |
| uses: rrainn/dynamodb-action@v2.0.0 | |
| - name: Sleep for 10 seconds | |
| run: sleep 10s | |
| shell: bash | |
| - name: Test E2E ⚙️ | |
| run: npm run test:e2e | |
| - name: Coverage 📝 | |
| run: npm run coverage | |
| - name: Build 🔧 | |
| run: npm run build | |
| - name: Publish package on NPM 📦 | |
| run: cd dist && npm publish | |
| env: | |
| NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} |