Skip to content

build(deps-dev): bump nx from 20.0.0 to 20.2.1 #3914

build(deps-dev): bump nx from 20.0.0 to 20.2.1

build(deps-dev): bump nx from 20.0.0 to 20.2.1 #3914

Workflow file for this run

# This workflow will do a clean install of node dependencies, cache/restore them, build the source code and run tests across different versions of node
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
name: CI
on:
push:
branches:
- '**'
pull_request:
branches:
- '**'
env:
NODE_VERSION: 18
defaults:
run:
shell: bash
jobs:
install:
name: Checkout and Install
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install
uses: ./.github/actions/install
with:
node-version: ${{ env.NODE_VERSION }}
build:
name: Build Packages
needs: [install]
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install
uses: ./.github/actions/install
with:
node-version: ${{ env.NODE_VERSION }}
- name: Build
uses: ./.github/actions/build
lint:
name: lint Packages
needs: [build]
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install
uses: ./.github/actions/install
with:
node-version: ${{ env.NODE_VERSION }}
- name: Build
uses: ./.github/actions/build
- name: Lint
run: |
npm run lint
tests:
name: Test Packages
needs: [build]
runs-on: ubuntu-latest
strategy:
matrix:
package: [
'navigation'
]
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 2
- name: Install
uses: ./.github/actions/install
with:
node-version: ${{ env.NODE_VERSION }}
- name: Build
uses: ./.github/actions/build
- name: Run tests
run: |
npm run test --workspace=packages/${{matrix.package}} --if-present