Fix CVEs #199
Workflow file for this run
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: 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 |