From 74a6798c7ba13be7f8875146159e5b958cb4f2d6 Mon Sep 17 00:00:00 2001 From: Nikki Ysendoorn Date: Tue, 19 Mar 2024 14:14:49 +0100 Subject: [PATCH] :sparkles: [#49] update workflow --- .github/workflows/ci.yml | 2 +- .storybook/preview.ts | 4 ++-- package.json | 4 +--- 3 files changed, 4 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index df04ef7..b4b1505 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -116,7 +116,7 @@ jobs: cd storybook-static/ && tar -xvf artifact.tar && cd .. npx concurrently -k -s first -n "SB,TEST" -c "magenta,blue" \ "npx http-server storybook-static --port 6006 --quiet" \ - "npx wait-on -l http://127.0.0.1:6006 && npm test:storybook" + "npx wait-on -l http://127.0.0.1:6006 && npm run test:storybook" deploy: runs-on: ubuntu-latest diff --git a/.storybook/preview.ts b/.storybook/preview.ts index 786b0e2..9d34b8f 100644 --- a/.storybook/preview.ts +++ b/.storybook/preview.ts @@ -1,9 +1,9 @@ export const parameters = { - actions: { argTypesRegex: "^on[A-Z].*" }, + actions: {argTypesRegex: '^on[A-Z].*'}, controls: { matchers: { color: /(background|color)$/i, date: /Date$/, }, }, -} +}; diff --git a/package.json b/package.json index 2c5f195..b60e32c 100644 --- a/package.json +++ b/package.json @@ -28,7 +28,6 @@ "storybook": "storybook dev -p 6006", "build-storybook": "storybook build", "makemessages": "formatjs extract", - "compilemessages": "formatjs compile-folder --ast i18n/messages i18n/compiled", "watch": "ttsc -p tsconfig.prod.json --watch" }, "files": [ @@ -78,6 +77,5 @@ "@storybook/test": "^8.0.0", "clsx": "^2.1.0", "formik": "^2.4.5" - }, - "packageManager": "pnpm@8.15.4+sha1.c85a4305534f76d461407b59277b954bac97b5c4" + } }