Skip to content

Commit

Permalink
Adding rush change -v to ci.yml (#95)
Browse files Browse the repository at this point in the history
* Adding `rush change -v` to `ci.yml`

* Install first mabye

* debug exist code of change verify

* add debug message

* add other node versions

* re-order the rush.json

* update support node range

* rush update

* use node 12 or 14

* change fetch depth

* clean up debug cmds

* pr comments and ignore browserlists error temporarily

* fix lock file

* try again

---------

Co-authored-by: Caleb Shafer <31107829+calebmshafer@users.noreply.github.com>
  • Loading branch information
raplemie and calebmshafer authored Nov 14, 2023
1 parent 1769af0 commit da52d4a
Show file tree
Hide file tree
Showing 7 changed files with 5,283 additions and 5,123 deletions.
19 changes: 15 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@
name: Admin Components React CI

on:
workflow_dispatch:
push:
branches:
- main
pull_request:
branches: [ main ]

Expand All @@ -13,25 +17,32 @@ jobs:

strategy:
matrix:
node-version: [12.x]
node-version: [12.x, 14.x]

steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- run: |
set -e
export BROWSERSLIST_IGNORE_OLD_DATA=1
echo 'Installing...'
node common/scripts/install-run-rush.js install
echo 'Verifying Dependency Versions...'
node common/scripts/install-run-rush.js check
echo 'Checking Changes...'
node common/scripts/install-run-rush.js change -v
echo 'Building...'
node common/scripts/install-run-rush.js rebuild
echo 'Testing...'
node common/scripts/install-run-rush.js test --verbose

This file was deleted.

This file was deleted.

3 changes: 2 additions & 1 deletion common/config/rush/common-versions.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"$schema": "https://developer.microsoft.com/json-schemas/rush/v5/common-versions.schema.json",

"preferredVersions": {
"lint-staged": "^10.2.11"
"lint-staged": "^10.2.11",
"browserslist": "^4.20.4"
}
}
Loading

0 comments on commit da52d4a

Please sign in to comment.