HPCC-33124 Replace actions/upload-artifact@v3 with v4 #16364
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: Build Test ECL Watch | |
on: | |
pull_request: | |
branches: | |
- "master" | |
- "candidate-*" | |
- "!candidate-7.6.*" | |
- "!candidate-7.4.*" | |
- "!candidate-7.2.*" | |
- "!candidate-7.0.*" | |
- "!candidate-6.*" | |
jobs: | |
pre_job: | |
runs-on: ubuntu-20.04 | |
outputs: | |
eclwatch: ${{ steps.skip_check.outputs.eclwatch }} | |
steps: | |
- id: skip_check | |
uses: hpcc-systems/github-actions/changed-modules@main | |
with: | |
github_token: ${{ github.token }} | |
build: | |
strategy: | |
matrix: | |
node: ["22", "20", "18"] | |
fail-fast: false | |
name: "Check eclwatch and npm" | |
needs: pre_job | |
if: ${{ needs.pre_job.outputs.eclwatch }} | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
submodules: "recursive" | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.node }} | |
- name: Install Dependencies | |
working-directory: ./esp/src | |
run: npm ci | |
- name: Lint | |
working-directory: ./esp/src | |
run: npm run lint | |
- name: Install Playwright browsers | |
working-directory: ./esp/src | |
run: npx playwright install --with-deps | |
- name: Build | |
working-directory: ./esp/src | |
run: npm run build | |
- name: Test | |
working-directory: ./esp/src | |
run: npm run test |