diff --git a/.github/workflows/main-workflow.yml b/.github/workflows/main-workflow.yml index 886602a..daee21c 100644 --- a/.github/workflows/main-workflow.yml +++ b/.github/workflows/main-workflow.yml @@ -14,16 +14,12 @@ jobs: # Job to run unit tests unit-front-end-testing: runs-on: ubuntu-latest - strategy: - matrix: - node-version: [16.x] - # See supported Node.js release schedule at https://nodejs.org/en/about/releases/ steps: - - uses: actions/checkout@v3 - - name: Use Node.js 16 - uses: actions/setup-node@v3 + - uses: actions/checkout@v4 + - name: Use Node.js LTS + uses: actions/setup-node@v4 with: - node-version: 16 + node-version: 'lts/*' cache: 'npm' registry-url: https://registry.npmjs.org/ - run: npm ci @@ -34,7 +30,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Install NPM dependencies, cache them correctly # and run all Cypress tests - name: Install dependencies @@ -52,7 +48,7 @@ jobs: PORT: 3000 steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Install NPM dependencies, cache them correctly # and run all Cypress tests - name: Install dependencies @@ -70,10 +66,10 @@ jobs: needs: [ unit-front-end-testing, cypress-components-testing, end-to-end-testing ] runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 - - uses: actions/setup-node@v3 + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 with: - node-version: 16 + node-version: 'lts/*' registry-url: https://registry.npmjs.org/ - run: npm ci - run: npm run build @@ -84,10 +80,10 @@ jobs: needs: [ unit-front-end-testing, cypress-components-testing, end-to-end-testing ] runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 - - uses: actions/setup-node@v3 + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 with: - node-version: 16 + node-version: 'lts/*' registry-url: https://registry.npmjs.org/ - run: npm ci - run: npm publish --access=public diff --git a/package-lock.json b/package-lock.json index e0d98d8..07eaa90 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@aleleba/create-react-ssr", - "version": "3.9.31", + "version": "3.9.32", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@aleleba/create-react-ssr", - "version": "3.9.31", + "version": "3.9.32", "license": "MIT", "dependencies": { "@babel/register": "^7.25.9", @@ -54,7 +54,7 @@ "@testing-library/user-event": "^14.6.1", "@types/jest": "^29.5.14", "@types/node": "^22.14.0", - "@types/react": "^19.1.0", + "@types/react": "^19.1.1", "@types/react-dom": "^19.1.2", "@types/webpack": "^5.28.5", "@types/webpack-hot-middleware": "^2.25.9", @@ -4360,9 +4360,9 @@ "integrity": "sha512-EEhsLsD6UsDM1yFhAvy0Cjr6VwmpMWqFBCb9w07wVugF7w9nfajxLuVmngTIpgS6svCnm6Vaw+MZhoDCKnOfsw==" }, "node_modules/@types/react": { - "version": "19.1.0", - "resolved": "https://registry.npmjs.org/@types/react/-/react-19.1.0.tgz", - "integrity": "sha512-UaicktuQI+9UKyA4njtDOGBD/67t8YEBt2xdfqu8+gP9hqPUPsiXlNPcpS2gVdjmis5GKPG3fCxbQLVgxsQZ8w==", + "version": "19.1.1", + "resolved": "https://registry.npmjs.org/@types/react/-/react-19.1.1.tgz", + "integrity": "sha512-ePapxDL7qrgqSF67s0h9m412d9DbXyC1n59O2st+9rjuuamWsZuD2w55rqY12CbzsZ7uVXb5Nw0gEp9Z8MMutQ==", "devOptional": true, "license": "MIT", "dependencies": { @@ -22184,9 +22184,9 @@ "integrity": "sha512-EEhsLsD6UsDM1yFhAvy0Cjr6VwmpMWqFBCb9w07wVugF7w9nfajxLuVmngTIpgS6svCnm6Vaw+MZhoDCKnOfsw==" }, "@types/react": { - "version": "19.1.0", - "resolved": "https://registry.npmjs.org/@types/react/-/react-19.1.0.tgz", - "integrity": "sha512-UaicktuQI+9UKyA4njtDOGBD/67t8YEBt2xdfqu8+gP9hqPUPsiXlNPcpS2gVdjmis5GKPG3fCxbQLVgxsQZ8w==", + "version": "19.1.1", + "resolved": "https://registry.npmjs.org/@types/react/-/react-19.1.1.tgz", + "integrity": "sha512-ePapxDL7qrgqSF67s0h9m412d9DbXyC1n59O2st+9rjuuamWsZuD2w55rqY12CbzsZ7uVXb5Nw0gEp9Z8MMutQ==", "devOptional": true, "requires": { "csstype": "^3.0.2" diff --git a/package.json b/package.json index 20d3c0e..c44b166 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@aleleba/create-react-ssr", - "version": "3.9.31", + "version": "3.9.32", "description": "Starter Kit of server side render of react", "bin": "./bin/cli.js", "main": "src/server/index", @@ -78,7 +78,7 @@ "@testing-library/user-event": "^14.6.1", "@types/jest": "^29.5.14", "@types/node": "^22.14.0", - "@types/react": "^19.1.0", + "@types/react": "^19.1.1", "@types/react-dom": "^19.1.2", "@types/webpack": "^5.28.5", "@types/webpack-hot-middleware": "^2.25.9",