From 40dfefef58ca6fa724d614665b8759b643bd120f Mon Sep 17 00:00:00 2001 From: Mateusz Baginski Date: Fri, 13 Oct 2023 13:59:32 +0200 Subject: [PATCH] feat: add build phase to CI --- .eslintignore | 2 +- .github/workflows/check.yml | 1 + package.json | 2 +- rollup.config.js => rollup.config.mjs | 0 4 files changed, 3 insertions(+), 2 deletions(-) rename rollup.config.js => rollup.config.mjs (100%) diff --git a/.eslintignore b/.eslintignore index fb52b95..0556b76 100644 --- a/.eslintignore +++ b/.eslintignore @@ -3,5 +3,5 @@ dist coverage .turbo prettier.config.mjs -rollup.config.js +rollup.config.mjs .commitlintrc.mjs diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml index 5d64ca4..ec7815c 100644 --- a/.github/workflows/check.yml +++ b/.github/workflows/check.yml @@ -20,3 +20,4 @@ jobs: - run: yarn install --frozen-lockfile --production=false - run: yarn lint + - run: yarn build diff --git a/package.json b/package.json index ae87ebb..99a04b8 100644 --- a/package.json +++ b/package.json @@ -26,7 +26,7 @@ ] }, "scripts": { - "build": "npx rollup --config rollup.config.js", + "build": "npx rollup --config rollup.config.mjs", "lint": "npx eslint src/", "prepare": "npx husky install", "publish": "yarn build && npx changeset && npx changeset version && npx changeset publish" diff --git a/rollup.config.js b/rollup.config.mjs similarity index 100% rename from rollup.config.js rename to rollup.config.mjs