build(deps): bump the nodejs-other group across 3 directories with 36… #843
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: "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 | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 18 | |
- uses: actions/cache@v4 | |
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 |