From d210587b74a76d17d2c5c30f5afb2002faac1a3b Mon Sep 17 00:00:00 2001 From: Untone Date: Mon, 16 Sep 2024 13:21:45 +0300 Subject: [PATCH] bun-ci --- .github/workflows/node-ci.yml | 20 ++++++++-------- package.json | 44 +++++++++++++++++------------------ 2 files changed, 32 insertions(+), 32 deletions(-) diff --git a/.github/workflows/node-ci.yml b/.github/workflows/node-ci.yml index 5545ef00..027815ae 100644 --- a/.github/workflows/node-ci.yml +++ b/.github/workflows/node-ci.yml @@ -11,19 +11,19 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 + - name: Install Bun + run: | + curl https://bun.sh/install | bash + echo "$HOME/.bun/bin" >> $GITHUB_PATH - uses: actions/setup-node@v4 - name: Install dependencies - run: npm i - - name: Install CI checks - run: npm ci - - name: Check types - run: npm run typecheck - - name: Lint with Biome - run: npx @biomejs/biome check src/. - - name: Lint styles - run: npx stylelint **/*.{scss,css} + run: bun i + - name: biome check + run: bunx @biomejs/biome check src/. + - name: tsc check + run: bun run typecheck - name: Test production build - run: npm run build + run: bun run build e2e_tests: needs: ci diff --git a/package.json b/package.json index 770a1bb2..8fbef0be 100644 --- a/package.json +++ b/package.json @@ -28,7 +28,7 @@ "@graphql-codegen/typescript-operations": "^4.2.3", "@graphql-codegen/typescript-urql": "^4.0.0", "@hocuspocus/provider": "^2.13.5", - "@playwright/test": "^1.46.1", + "@playwright/test": "^1.47.1", "@popperjs/core": "^2.11.8", "@solid-primitives/media": "^2.2.9", "@solid-primitives/memo": "^1.3.9", @@ -38,22 +38,22 @@ "@solid-primitives/storage": "^3.8.0", "@solid-primitives/upload": "^0.0.117", "@solidjs/meta": "^0.29.4", - "@solidjs/router": "^0.14.3", + "@solidjs/router": "^0.14.5", "@solidjs/start": "^1.0.6", - "@storybook/addon-a11y": "^8.2.9", - "@storybook/addon-actions": "^8.2.9", - "@storybook/addon-controls": "^8.2.9", - "@storybook/addon-essentials": "^8.2.9", - "@storybook/addon-interactions": "^8.2.9", - "@storybook/addon-links": "^8.2.9", + "@storybook/addon-a11y": "^8.3.0", + "@storybook/addon-actions": "^8.3.0", + "@storybook/addon-controls": "^8.3.0", + "@storybook/addon-essentials": "^8.3.0", + "@storybook/addon-interactions": "^8.3.0", + "@storybook/addon-links": "^8.3.0", "@storybook/addon-styling": "1.3.7", - "@storybook/addon-themes": "^8.2.9", - "@storybook/addon-viewport": "^8.2.9", - "@storybook/blocks": "^8.2.9", + "@storybook/addon-themes": "^8.3.0", + "@storybook/addon-viewport": "^8.3.0", + "@storybook/blocks": "^8.3.0", "@storybook/builder-vite": "8.2.9", "@storybook/docs-tools": "8.2.9", - "@storybook/html": "^8.2.9", - "@storybook/react": "^8.2.9", + "@storybook/html": "^8.3.0", + "@storybook/react": "^8.3.0", "@storybook/test-runner": "^0.19.1", "@storybook/testing-library": "^0.2.2", "@tiptap/core": "^2.6.6", @@ -88,7 +88,7 @@ "@tiptap/starter-kit": "2.6.6", "@types/cookie": "^0.6.0", "@types/cookie-signature": "^1.1.2", - "@types/node": "^22.5.2", + "@types/node": "^22.5.5", "@types/throttle-debounce": "^5.0.2", "@urql/core": "^5.0.6", "axe-playwright": "^2.0.2", @@ -100,7 +100,7 @@ "extended-eventsource": "^1.6.4", "fast-deep-equal": "^3.1.3", "graphql": "^16.9.0", - "i18next": "^23.14.0", + "i18next": "^23.15.1", "i18next-http-backend": "^2.6.1", "i18next-icu": "^2.3.0", "intl-messageformat": "^10.5.14", @@ -108,31 +108,31 @@ "patch-package": "^8.0.0", "prosemirror-history": "^1.4.1", "prosemirror-trailing-node": "^2.0.9", - "prosemirror-view": "^1.34.1", + "prosemirror-view": "^1.34.2", "rollup-plugin-visualizer": "^5.12.0", "sass": "1.76.0", "solid-js": "^1.8.22", "solid-popper": "^0.3.0", "solid-tiptap": "0.7.0", "solid-transition-group": "^0.2.3", - "storybook": "^8.2.9", + "storybook": "^8.3.0", "storybook-solidjs": "^1.0.0-beta.2", "storybook-solidjs-vite": "^1.0.0-beta.2", "stylelint": "^16.9.0", "stylelint-config-recommended": "^14.0.1", "stylelint-config-standard-scss": "^13.1.0", "stylelint-order": "^6.0.4", - "stylelint-scss": "^6.5.1", - "swiper": "^11.1.12", + "stylelint-scss": "^6.6.0", + "swiper": "^11.1.14", "throttle-debounce": "^5.0.2", "tslib": "^2.7.0", - "typescript": "^5.5.4", + "typescript": "^5.6.2", "typograf": "^7.4.1", "uniqolor": "^1.1.1", - "vinxi": "^0.4.2", + "vinxi": "^0.4.3", "vite-plugin-mkcert": "^1.17.6", "vite-plugin-node-polyfills": "^0.22.0", - "vite-plugin-sass-dts": "^1.3.25", + "vite-plugin-sass-dts": "^1.3.29", "y-prosemirror": "1.2.12", "yjs": "13.6.18" },