build(deps-dev): bump rimraf from 5.0.5 to 6.0.1 #3291
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
# 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 |