diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index c53387e43..0176d69ba 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -15,13 +15,11 @@ on: - cryostat-v[0-9]+.[0-9]+ jobs: - build: + prettier-check: runs-on: ubuntu-latest - strategy: matrix: - node-version: [16.x] - + node-version: [16.x, 18.x] steps: - uses: actions/checkout@v2 - name: Use Node.js ${{ matrix.node-version }} @@ -30,6 +28,29 @@ jobs: node-version: ${{ matrix.node-version }} - uses: bahmutov/npm-install@v1 - run: yarn format:check + eslint-check: + runs-on: ubuntu-latest + strategy: + matrix: + node-version: [16.x, 18.x] + steps: + - uses: actions/checkout@v2 + - name: Use Node.js ${{ matrix.node-version }} + uses: actions/setup-node@v2 + with: + node-version: ${{ matrix.node-version }} + - uses: bahmutov/npm-install@v1 - run: yarn eslint:check - - run: yarn build:notests + test: + runs-on: ubuntu-latest + strategy: + matrix: + node-version: [16.x, 18.x] + steps: + - uses: actions/checkout@v2 + - name: Use Node.js ${{ matrix.node-version }} + uses: actions/setup-node@v2 + with: + node-version: ${{ matrix.node-version }} + - uses: bahmutov/npm-install@v1 - run: yarn test:ci diff --git a/.github/workflows/pr-ci.yml b/.github/workflows/pr-ci.yml index bd6c135ce..98c4af492 100644 --- a/.github/workflows/pr-ci.yml +++ b/.github/workflows/pr-ci.yml @@ -59,7 +59,6 @@ jobs: with: name: cryostat-core path: /home/runner/.m2/repository/io/cryostat/cryostat-core/ - build-image-and-push: runs-on: ubuntu-latest needs: [get-pom-properties, build-deps]