Skip to content

build(deps): bump the nodejs-other group across 1 directory with 53 u… #1046

build(deps): bump the nodejs-other group across 1 directory with 53 u…

build(deps): bump the nodejs-other group across 1 directory with 53 u… #1046

Workflow file for this run

name: "Continuous Build (NodeJS)"
on:
push:
paths:
- 'nodejs/**'
- '.github/workflows/ci-nodejs.yml'
branches:
- main
pull_request:
paths:
- 'nodejs/**'
- '.github/workflows/ci-nodejs.yml'
branches:
- main
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
- uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
with:
node-version: 18
- uses: actions/cache@0400d5f644dc74513175e3cd8d07132dd4860809 # v4.2.4
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
- run: npm install
working-directory: nodejs
- run: npm run lint
working-directory: nodejs
- run: npm test
working-directory: nodejs
- name: Build AWS SDK Sample
run: npm run build
working-directory: nodejs/sample-apps/aws-sdk