Skip to content

Fix CVEs

Fix CVEs #186

name: Extension CI Build
on:
push:
branches:
- main
pull_request:
jobs:
build-extension:
runs-on: ubuntu-22.04
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
steps:
- name: Checkout the repository
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Set up Node 18
uses: actions/setup-node@v3
with:
node-version: "20"
cache: "npm"
cache-dependency-path: "extension/package-lock.json"
- name: Install dependencies
run: cd extension && npm ci
- name: Prepare dummy jar file
run: |
mkdir target
echo "dummy jar content" > target/exasol-cloud-storage-extension-2.7.4.jar
- name: Run build
run: cd extension && npm run build
- name: Run tests
run: cd extension && npm test
- name: Run linter
run: cd extension && npm run lint