-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* [#482]: create prepare-nodejs github action * [#482]: fix types * [#482]: ligretto core remove engine
- Loading branch information
Showing
13 changed files
with
67 additions
and
147 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
name: "Prepare nodejs" | ||
description: "Install nodejs. Install dependencies" | ||
|
||
runs: | ||
using: "composite" | ||
steps: | ||
- name: Install node | ||
uses: actions/setup-node@main | ||
with: | ||
node-version: "20.11.1" | ||
cache: "yarn" | ||
|
||
- name: Install yarn | ||
shell: 'bash' | ||
run: corepack enable | ||
|
||
- name: Install dependencies | ||
shell: 'bash' | ||
run: yarn |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -26,17 +26,8 @@ jobs: | |
- name: Checkout | ||
uses: actions/checkout@main | ||
|
||
- name: Install node | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: '18.14' | ||
cache: 'yarn' | ||
|
||
- name: Install yarn | ||
run: corepack enable | ||
|
||
- name: Install dependencies | ||
run: yarn | ||
- uses: ./.github/actions/prepare-nodejs | ||
name: Prepare Node.js | ||
|
||
- name: Lint code | ||
run: yarn lint | ||
|
@@ -49,17 +40,8 @@ jobs: | |
- name: Checkout | ||
uses: actions/checkout@main | ||
|
||
- name: Install node | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: '18.14' | ||
cache: 'yarn' | ||
|
||
- name: Install yarn | ||
run: corepack enable | ||
|
||
- name: Install dependencies | ||
run: yarn | ||
- uses: ./.github/actions/prepare-nodejs | ||
name: Prepare Node.js | ||
|
||
- name: Build shared | ||
run: yarn ligretto-shared:build | ||
|
@@ -85,17 +67,8 @@ jobs: | |
- name: Checkout | ||
uses: actions/checkout@main | ||
|
||
- name: Install node | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: '18.14' | ||
cache: 'yarn' | ||
|
||
- name: Install yarn | ||
run: corepack enable | ||
|
||
- name: Install dependencies | ||
run: yarn | ||
- uses: ./.github/actions/prepare-nodejs | ||
name: Prepare Node.js | ||
|
||
- name: TS check | ||
run: yarn ligretto:ts-check:ci | ||
|
@@ -128,17 +101,8 @@ jobs: | |
- name: Checkout | ||
uses: actions/checkout@main | ||
|
||
- name: Install node | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: '18.14' | ||
cache: 'yarn' | ||
|
||
- name: Install yarn | ||
run: corepack enable | ||
|
||
- name: Install dependencies | ||
run: yarn | ||
- uses: ./.github/actions/prepare-nodejs | ||
name: Prepare Node.js | ||
|
||
- name: Install Playwright Browsers | ||
run: yarn dlx [email protected] install --with-deps chromium | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,17 +15,8 @@ jobs: | |
- name: Checkout | ||
uses: actions/checkout@main | ||
|
||
- name: Install node | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: '18.14' | ||
cache: 'yarn' | ||
|
||
- name: Install yarn | ||
run: corepack enable | ||
|
||
- name: Install dependencies | ||
run: yarn | ||
- uses: ./.github/actions/prepare-nodejs | ||
name: Prepare Node.js | ||
|
||
- name: Install Playwright Browsers | ||
run: yarn dlx [email protected] install --with-deps chromium | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -33,18 +33,12 @@ | |
"build-storybook": "storybook build" | ||
}, | ||
"engines": { | ||
"node": ">=18" | ||
"node": ">=20.11" | ||
}, | ||
"workspaces": [ | ||
"packages/**", | ||
"apps/*" | ||
], | ||
"browserslist": [ | ||
">0.2%", | ||
"not dead", | ||
"not ie <= 11", | ||
"not op_mini all" | ||
], | ||
"devDependencies": { | ||
"@storybook/addon-actions": "^7.0.6", | ||
"@storybook/addon-docs": "^7.0.6", | ||
|
@@ -55,7 +49,7 @@ | |
"@storybook/preset-scss": "^1.0.3", | ||
"@storybook/react": "^7.0.6", | ||
"@storybook/react-vite": "^7.0.6", | ||
"@types/node": "^18.14.0", | ||
"@types/node": "20.11.30", | ||
"@typescript-eslint/eslint-plugin": "^5.53.0", | ||
"@typescript-eslint/parser": "^5.53.0", | ||
"css-loader": "^6.7.1", | ||
|
@@ -82,7 +76,7 @@ | |
}, | ||
"packageManager": "[email protected]", | ||
"resolutions": { | ||
"@types/node": "18.14.0", | ||
"@types/node": "20.11.30", | ||
"@types/readable-stream": "2.3.15", | ||
"vite": "4.5.0" | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters