Skip to content

Add progress indicators and error handling to authentication and bike… #13

Add progress indicators and error handling to authentication and bike…

Add progress indicators and error handling to authentication and bike… #13

Workflow file for this run

# This workflow will do a clean installation of node dependencies, cache/restore them, build the source code and run tests across different versions of node
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-nodejs
name: Node.js CI
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [20.x]
# Using only Node.js 20.x as it's the LTS version and matches our development environment
steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- name: Install dependencies
run: npm ci
- name: Run lint check
run: npx eslint .
- name: Verify package.json
run: |
npm pkg get engines.node
npm pkg get dependencies
npm pkg get devDependencies
- name: Check for vulnerabilities
run: npm audit