Skip to content

Commit

Permalink
chore: update to turbo v2 (#1332)
Browse files Browse the repository at this point in the history
  • Loading branch information
danielleroux authored Jun 17, 2024
1 parent 2fcf614 commit 44d8937
Show file tree
Hide file tree
Showing 12 changed files with 199 additions and 153 deletions.
1 change: 0 additions & 1 deletion .github/workflows/actions/turbo/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ runs:
- uses: pnpm/action-setup@v2
name: Install pnpm
with:
version: 9.1.2
run_install: false

- name: Setup Node.js environment
Expand Down
7 changes: 5 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -113,14 +113,17 @@ jobs:
name: core-html-report--attempt-${{ github.run_attempt }}
path: playwright-report
retention-days: 2

unit:
needs: [build]
timeout-minutes: 10
runs-on: ubuntu-latest
container:
image: mcr.microsoft.com/playwright:v1.39.0-jammy
steps:
- uses: actions/checkout@v3
- uses: ./.github/workflows/actions/turbo

- name: Install Playwright Browsers
run: pnpm exec playwright install chromium --with-deps

- name: Test
run: pnpm run test --cache-dir=.turbo --filter !\documentation
5 changes: 3 additions & 2 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -177,11 +177,12 @@ jobs:
needs: [build, changes]
timeout-minutes: 10
runs-on: ubuntu-latest
container:
image: mcr.microsoft.com/playwright:v1.39.0-jammy
steps:
- uses: actions/checkout@v3
- uses: ./.github/workflows/actions/turbo

- name: Install Playwright Browsers
run: pnpm exec playwright install chromium --with-deps

- name: Test
run: pnpm run test --cache-dir=.turbo --filter !\documentation
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"bugs": {
"url": "https://www.github.com/siemens/ix/issues"
},
"packageManager": "pnpm@9.1.2",
"packageManager": "pnpm@9.3.0",
"engines": {
"pnpm": ">=9.x.x",
"node": ">=18.x.x"
Expand Down Expand Up @@ -48,7 +48,7 @@
"husky": "^8.0.1",
"prettier": "^2.6.2",
"prettier-plugin-organize-imports": "^3.2.1",
"turbo": "^1.10.16",
"turbo": "^2.0.4",
"typescript": "~4.7.2"
},
"config": {
Expand Down
2 changes: 1 addition & 1 deletion packages/aggrid/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
},
"devDependencies": {
"@playwright/test": "^1.32.1",
"@siemens/ix": "~2.2.0",
"@siemens/ix": "workspace:*",
"@siemens/ix-icons": "^2.0.0",
"@types/gulp": "^4.0.14",
"@types/gulp-postcss": "^8.0.4",
Expand Down
2 changes: 1 addition & 1 deletion packages/angular/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"@angular/core": "v13-lts",
"@angular/forms": "v13-lts",
"@jest/globals": "^29.3.1",
"@siemens/ix": "~2.2.1",
"@siemens/ix": "workspace:*",
"@types/jest": "^29.2.3",
"fs-extra": "^10.1.0",
"jest": "^29.3.1",
Expand Down
2 changes: 1 addition & 1 deletion packages/eslint-config-ix/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
/** @type {import('eslint').Linter.Config} */
module.exports = {
extends: ['turbo', 'prettier'],
plugins: ['prettier', '@typescript-eslint'],
plugins: ['turbo', 'prettier', '@typescript-eslint'],
rules: {
'prettier/prettier': 'error',
quotes: [
Expand Down
9 changes: 5 additions & 4 deletions packages/eslint-config-ix/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,10 @@
"private": true,
"dependencies": {
"eslint": "latest",
"eslint-config-prettier": "latest",
"eslint-plugin-prettier": "latest",
"eslint-config-turbo": "latest",
"prettier": "latest"
"eslint-config-prettier": "^9.0.0",
"eslint-config-turbo": "^1.10.16",
"eslint-plugin-prettier": "^5.0.1",
"eslint-plugin-turbo": "^2.0.4",
"prettier": "^3.0.3"
}
}
2 changes: 1 addition & 1 deletion packages/react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"license": "MIT",
"devDependencies": {
"@rollup/plugin-typescript": "^8.4.0",
"@siemens/ix": "~2.2.1",
"@siemens/ix": "workspace:*",
"@testing-library/jest-dom": "^5.16.5",
"@testing-library/react": "^13.4.0",
"@types/estree": "~0.0.51",
Expand Down
1 change: 1 addition & 0 deletions packages/vue/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@
"devDependencies": {
"rimraf": "^3.0.2",
"vue": "^3.2.45",
"@siemens/ix": "workspace:*",
"@typescript-eslint/eslint-plugin": "^5.45.0",
"@typescript-eslint/parser": "^5.45.0",
"eslint-config-ix": "workspace:*",
Expand Down
Loading

0 comments on commit 44d8937

Please sign in to comment.