Skip to content

Update dependency postcss-preset-env to v9.5.9 (#124) #273

Update dependency postcss-preset-env to v9.5.9 (#124)

Update dependency postcss-preset-env to v9.5.9 (#124) #273

Workflow file for this run

# Copyright (C) 2020 Dremio
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# Unifies main + PR workflow.
#
# The unified CI workflow consists of 2 "stages":
# - Checks - test, intTest, NesQuEIT, etc
# - Finalize - a "success" dummy job for PRs + a "save to github-cache" job for push-to-main
#
# Utilizes the Gradle build cache for all stages. The updated build cache
# of the jobs in the checks stage are saved as artifacts (with the minimum
# retention period). The updated build cache is pushed back to GigHub's
# cache when the checks have successfully finished.
#
# Java CI runs against Java 11 and Java 17, where it is meaningful.
# (Spark tests always run against 11, so not run against Java 17.)
name: CI build
on:
push:
branches:
- main
- release-*
pull_request:
concurrency:
# PRs: 1 CI run concurrently / older ones are cancelled
# main branch: 1 CI run concurrently / all commits / no cancellation
group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.ref }}
cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}
jobs:
ci:
name: CI
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@1d96c772d19495a3b5c517cd2bc0cb401ea0529f # v4.1.3
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 18.x
cache: 'npm'
- name: NPM Install
run: npm install
- name: NPM Generate API
run: npm run generate-api
- name: NPM fix API
run: npm run fix-generated-client
- name: NPM build
env:
GENERATE_SOURCEMAP: false
DISABLE_ESLINT_PLUGIN: false
DISABLE_TERSER_PLUGIN: false
PROFILE_PLUGINS: false
run: npm run build
- name: NPM test
run: npm test -- --coverage
- name: NPM lint
run: npm run lint
- name: Generate UI jar
uses: gradle/actions/setup-gradle@v3
with:
cache-read-only: ${{ github.event_name != 'push' || github.ref != 'refs/heads/main' }}
arguments: jar