Bump @aws-sdk/client-dynamodb from 3.699.0 to 3.705.0 in /koa-stub/src in the aws-sdk group #183
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: Kob Stub Pre-Merge Lint & Unit Test | |
on: | |
pull_request: | |
types: [opened, synchronize, reopened] | |
paths: | |
- "koa-stub/**" | |
jobs: | |
# Sonar is enabled through SaaS Integration, so workflow checks not needed to be explicit | |
# sonarcloud: | |
# permissions: | |
# id-token: write | |
# contents: read | |
# name: "Sonar Cloud Scan" | |
# runs-on: "ubuntu-latest" | |
# steps: | |
# - name: "Checkout code" | |
# uses: "actions/checkout@v4" | |
# with: | |
# fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis | |
# - name: "Run SonarCloud Scan" | |
# if: ${{ success() }} | |
# uses: SonarSource/sonarcloud-github-action@master | |
# env: | |
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
# - name: SonarQube Quality Gate check | |
# uses: sonarsource/sonarqube-quality-gate-action@master | |
# # Force to fail step after specific time | |
# timeout-minutes: 5 | |
run-unit-tests: | |
permissions: | |
id-token: write | |
contents: read | |
name: Lint and Unit Tests | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
shell: bash | |
working-directory: koa-stub/ | |
steps: | |
- name: Check out repository code | |
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
with: | |
submodules: true | |
- name: Setup nodeJS v20 | |
uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4.1.0 | |
with: | |
node-version: 20 | |
- name: Install dependencies | |
run: npm ci | |
working-directory: koa-stub/src/ | |
- name: Run eslint | |
run: npm run lint | |
working-directory: koa-stub/src/ | |
- name: Run unit tests | |
run: npm run test | |
working-directory: koa-stub/src/ |