Skip to content

Commit

Permalink
feat: Build with node 16 + get off of node-sass (#974)
Browse files Browse the repository at this point in the history
* Build with node 16

* use 16.10

* Force elgacy peer deps

* remove node-saas

* revert

* bump versions

* Move to node 18

* use legacy-deps

* use npm ci

* Rever tto 16.10

* update command line

* Update storybok

* Fix babel plugin

* add polyfill

* add polyfill directly

* Revert "add polyfill directly"

This reverts commit 8b05464.

* Revert "add polyfill"

This reverts commit a851f90.

* Revert "Fix babel plugin"

This reverts commit 74b6521.

* Revert "Update storybok"

This reverts commit 617b13a.

* force installs

* use latest axios

* reverse axios

* Revert "reverse axios"

This reverts commit 39f14fa.

* some tweaks

* updated package-lock from npm legacy peer deps execution

---------

Co-authored-by: Raj Potla <[email protected]>
  • Loading branch information
msnyder-msft and rapotl authored May 16, 2024
1 parent 5b4a305 commit 63d7f8b
Show file tree
Hide file tree
Showing 5 changed files with 453 additions and 1,546 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: '14'
node-version: '16.10.0'
cache: 'npm'
registry-url: 'https://registry.npmjs.org'

- name: Install dependencies
run: npm install
run: npm install --legacy-peer-deps

# todo - lint only file deltas, not entire codebase (speeds up workflow)
- name: Check code formatting and quality
Expand All @@ -27,12 +27,12 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: '14'
node-version: '16.10.0'
cache: 'npm'
registry-url: 'https://registry.npmjs.org'

- name: Install dependencies
run: npm install
run: npm install --legacy-peer-deps

- name: Verify rollup build succeeds
run: npm run build
Expand All @@ -45,11 +45,11 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: '14'
node-version: '16.10.0'
cache: 'npm'

- name: Install dependencies
run: npm install
run: npm install --legacy-peer-deps

- name: Verify all unit tests pass
run: npm run test:ci
4 changes: 2 additions & 2 deletions .github/workflows/chromatic.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@ jobs:
fetch-depth: 0 # 👈 Required to retrieve git history
- uses: actions/setup-node@v2
with:
node-version: '14'
node-version: '16.10.0'
cache: 'npm'
registry-url: 'https://registry.npmjs.org'

- name: Install dependencies
run: npm install
run: npm install --legacy-peer-deps

- name: Publish to chromatic
uses: chromaui/action@v1
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,12 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v2
with:
node-version: '14'
node-version: '16.10.0'
cache: 'npm'
registry-url: 'https://registry.npmjs.org'

- name: Install dependencies
run: npm install
run: npm install --legacy-peer-deps

- name: Build library
run: npm run build
Expand Down
Loading

0 comments on commit 63d7f8b

Please sign in to comment.