Skip to content

SBCOSS-399: Workflow to publish docker image to github container registry upon tag creation #4

SBCOSS-399: Workflow to publish docker image to github container registry upon tag creation

SBCOSS-399: Workflow to publish docker image to github container registry upon tag creation #4

Workflow file for this run

name: Code Quality Checks
on:
pull_request:
branches:
- '**'
jobs:
code-quality:
name: Run Code Quality Checks
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: '22.15'
- name: Restore node_modules cache
id: cache
uses: actions/cache@v3
with:
path: node_modules
key: ${{ runner.os }}-node-modules-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-modules-
- name: Install dependencies
run: npm ci
- name: Save node_modules cache
if: steps.cache.outputs.cache-hit != 'true'
uses: actions/cache@v3
with:
path: node_modules
key: ${{ runner.os }}-node-modules-${{ hashFiles('**/package-lock.json') }}
- name: Run lint
run: npm run lint