Skip to content

Commit

Permalink
Merge pull request #409 from Telegram-Mini-Apps/bugfix/mate-deps
Browse files Browse the repository at this point in the history
Fix invalid `@telegram-apps/mate` deps. Make a bit better CI workflow
  • Loading branch information
heyqbnk authored Jul 11, 2024
2 parents 16a1e9e + 2c00a3c commit aadfec8
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 36 deletions.
18 changes: 3 additions & 15 deletions .github/workflows/run-changeset.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,23 +26,11 @@ jobs:
uses: pnpm/action-setup@v2
id: pnpm-install
with:
version: 7
version: 9
run_install: false

- name: Install packages dependencies only
run: pnpm run ci:packages:install-deps

- name: Build packages
run: pnpm run ci:packages:build

# - name: Lint packages
# run: pnpm run ci:packages:lint

- name: Check packages types
run: pnpm run ci:packages:typecheck

- name: Test packages
run: pnpm run ci:packages:test
- name: Rollup
run: pnpm run ci:packages:rollup

- name: Run changeset
uses: changesets/action@v1
Expand Down
18 changes: 3 additions & 15 deletions .github/workflows/test-pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,20 +25,8 @@ jobs:
uses: pnpm/action-setup@v2
id: pnpm-install
with:
version: 7
version: 9
run_install: false

- name: Install packages dependencies only
run: pnpm run ci:packages:install-deps

- name: Build packages
run: pnpm run ci:packages:build

- name: Lint packages
run: pnpm run ci:packages:lint

- name: Check packages types
run: pnpm run ci:packages:typecheck

- name: Test packages
run: pnpm run ci:packages:test
- name: Rollup
run: pnpm run ci:packages:rollup
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,11 @@
"scripts": {
"ci:docs:build": "pnpm run docs:build",
"ci:packages:build": "pnpm run packages:build",
"ci:packages:install-deps": "pnpm i",
"ci:packages:deps": "pnpm i --filter=\"./packages/*\"",
"ci:packages:lint": "pnpm run packages:lint",
"ci:packages:test": "vitest --run",
"ci:packages:typecheck": "pnpm run packages:typecheck",
"ci:packages:rollup": "pnpm run ci:packages:deps && pnpm run ci:packages:build && pnpm run ci:packages:lint && pnpm run ci:packages:typecheck && pnpm run ci:packages:test",
"commit": "git cz",
"dev": "turbo run dev",
"docs:build": "turbo run build --filter=\"./apps/docs\"",
Expand Down
5 changes: 0 additions & 5 deletions packages/mate/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,5 @@
},
"include": [
"src"
],
"references": [
{
"path": "../cli-utils"
}
]
}

0 comments on commit aadfec8

Please sign in to comment.