Skip to content

Merge pull request #102 from radical-data/dependabot/npm_and_yarn/npm… #51

Merge pull request #102 from radical-data/dependabot/npm_and_yarn/npm…

Merge pull request #102 from radical-data/dependabot/npm_and_yarn/npm… #51

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
env:
NODE_VERSION: '22.4.1'
jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: ${{ env.NODE_VERSION }}
cache: 'npm'
- name: Cache dependencies
uses: actions/cache@v4
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ env.NODE_VERSION }}-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-${{ env.NODE_VERSION }}-
- name: Install dependencies
run: npm install
- name: Lint code
run: npm run lint