Skip to content

Commit

Permalink
chore: update node to v20 & updated dependencies
Browse files Browse the repository at this point in the history
* chore: delete jest dependencies

* chore: update node version to v20

* chore: update linting packages

* chore: update vite packages

* chore: update vitest packages

* chore: update testing library & jsdom  packages

* chore: update react types

* chore: update babelsheet packages

* chore: update qs & types packages

* chore: update dependencies

* chore: update husky commitlint & changesets/clis

* chore: bump tshio/awscli-docker-compose-pipelines image

* chore: bump node version in  workflows

* chore: update playwright dependencies

* chore: add changeset file
  • Loading branch information
MieszkoTSH authored Apr 18, 2024
1 parent 837ede0 commit 4e09c15
Show file tree
Hide file tree
Showing 15 changed files with 4,750 additions and 3,403 deletions.
5 changes: 5 additions & 0 deletions .changeset/chilled-dogs-sing.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"react-starter-boilerplate": minor
---

update node version to v20 & update dependencies
6 changes: 3 additions & 3 deletions .github/workflows/default.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup Node.js 18
uses: actions/setup-node@v3
- name: Setup Node.js 20
uses: actions/setup-node@v4
with:
node-version: 18
node-version: 20
- name: Copy envs
run: cp .env.dist .env
- name: Install root dependencies
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/deploy-staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ jobs:
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
aws-region: ${{ secrets.AWS_REGION }}
- name: Setup Node.js 18
uses: actions/setup-node@v3
- name: Setup Node.js 20
uses: actions/setup-node@v4
with:
node-version: 18
node-version: 20
- name: Install dependencies
run: npm ci
- name: Build
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ jobs:
prepare_app:
runs-on: ubuntu-latest
container:
image: mcr.microsoft.com/playwright:v1.31.2-focal
image: mcr.microsoft.com/playwright:v1.43.0-focal
steps:
- uses: actions/checkout@master
- name: Copy envs
Expand All @@ -25,7 +25,7 @@ jobs:
needs: prepare_app
runs-on: ubuntu-latest
container:
image: mcr.microsoft.com/playwright:v1.31.2-focal
image: mcr.microsoft.com/playwright:v1.43.0-focal
defaults:
run:
working-directory: e2e-playwright
Expand Down Expand Up @@ -56,7 +56,7 @@ jobs:
needs: prepare_app
runs-on: ubuntu-latest
container:
image: mcr.microsoft.com/playwright:v1.31.2-focal
image: mcr.microsoft.com/playwright:v1.43.0-focal
options: --user 1001
defaults:
run:
Expand Down Expand Up @@ -88,7 +88,7 @@ jobs:
needs: prepare_app
runs-on: ubuntu-latest
container:
image: mcr.microsoft.com/playwright:v1.31.2-focal
image: mcr.microsoft.com/playwright:v1.43.0-focal
defaults:
run:
working-directory: e2e-playwright
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ jobs:
- name: Checkout Repo
uses: actions/checkout@v3

- name: Setup Node.js 18
uses: actions/setup-node@v3
- name: Setup Node.js 20
uses: actions/setup-node@v4
with:
node-version: 18
node-version: 20

- name: Install Dependencies
run: npm ci
Expand Down
2 changes: 0 additions & 2 deletions .husky/commit-msg
Original file line number Diff line number Diff line change
@@ -1,4 +1,2 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

npx --no-install commitlint --edit $1
2 changes: 0 additions & 2 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

npx validate-branch-name
npx lint-staged
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v18
v20
2 changes: 1 addition & 1 deletion babelsheet.json.dist
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"cliVersion": "0.0.12",
"cliVersion": "0.0.15",
"spreadsheetId": "example spreadsheetId",
"credentials": ".credentials.json",
"userInput": {
Expand Down
12 changes: 6 additions & 6 deletions bitbucket-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ definitions:
npm: $HOME/.npm
steps:
- step: &deploy-s3
image: tshio/awscli-docker-compose-pipelines:0.0.6
image: tshio/awscli-docker-compose-pipelines:0.0.7
script:
- npm ci
- npm run build
Expand All @@ -14,7 +14,7 @@ definitions:
pipelines:
default:
- step:
image: node:18
image: node:20
caches:
- node
- npm
Expand All @@ -30,7 +30,7 @@ pipelines:
'**':
- step:
name: build and install
image: mcr.microsoft.com/playwright:v1.31.2-focal
image: mcr.microsoft.com/playwright:v1.43.0-focal
caches:
- node
- npm
Expand All @@ -45,23 +45,23 @@ pipelines:
- parallel:
- step:
name: e2e - chrome
image: mcr.microsoft.com/playwright:v1.31.2-focal
image: mcr.microsoft.com/playwright:v1.43.0-focal
caches:
- node
script:
- cp ./e2e-playwright/.env.dist ./e2e-playwright/.env
- cd e2e-playwright && npm run test:chrome cd ..
- step:
name: e2e - firefox
image: mcr.microsoft.com/playwright:v1.31.2-focal
image: mcr.microsoft.com/playwright:v1.43.0-focal
caches:
- node
script:
- cp ./e2e-playwright/.env.dist ./e2e-playwright/.env
- cd e2e-playwright && npm run test:firefox cd ..
- step:
name: e2e - safari
image: mcr.microsoft.com/playwright:v1.31.2-focal
image: mcr.microsoft.com/playwright:v1.43.0-focal
caches:
- node
script:
Expand Down
Loading

0 comments on commit 4e09c15

Please sign in to comment.