#393: Migrate production code from Scala to Java #360
Workflow file for this run
This file contains hidden or 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: | |
| permissions: | |
| contents: read | |
| runs-on: ubuntu-24.04 | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| steps: | |
| - name: Checkout the repository | |
| uses: actions/checkout@v3 | |
| with: | |
| fetch-depth: 0 | |
| persist-credentials: false | |
| - name: Set up Node 20 | |
| 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 |