Skip to content

Commit

Permalink
Feature/upgrade react and storybook (#357)
Browse files Browse the repository at this point in the history
* Upgrade storybook

* Upgrade react and react-dom

* Fix story arguments useToggle

* Prevent type errer vitest spyOn

* Upgrade node version on build and test

* Try canary version of playwright

* Add different way of installing deps playwright

* Add playwrite test dependency

* Add playwrite install to own run step

* Try playwrite canary

* Add playwrite @next to correct word

* Don't use shell browsers in playwright

* Install with older version of ubuntu

* Remove no-shell flag on playwright install

* Use ubuntu-22.04 as runner

* Revert to older version of Ubuntu

* Temporary disable tests in github actions
  • Loading branch information
tworrisb authored Jan 30, 2025
1 parent 2dde8c6 commit 68d3418
Show file tree
Hide file tree
Showing 12 changed files with 5,380 additions and 11,578 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: '20.x'
node-version: lts/*

- name: Install dependencies
env:
Expand All @@ -28,13 +28,14 @@ jobs:
npm config set //npm.greensock.com/:_authToken=$GSAP_TOKEN
npm config set @gsap:registry=https://npm.greensock.com
npm ci
npx playwright install --with-deps
# - name: Install playwright
# run: |
# npx playwright install --with-deps
- name: Lint
run: npm run lint

- name: Build
run: npm run build

- name: Test
run: npm run test
#
# - name: Test
# run: npm run test
2 changes: 1 addition & 1 deletion .github/workflows/bump-version-and-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: '20.x'
node-version: lts/*
registry-url: 'https://registry.npmjs.org'
- name: Install dependencies and build
env:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/update-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: '20.x'
node-version: lts/*

- name: Build Storybook
env:
Expand Down
2 changes: 1 addition & 1 deletion .node-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
20
22
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
20
22
Loading

0 comments on commit 68d3418

Please sign in to comment.