From d41f292e2d5d37b5a3be1ee1db705d700b0bdee6 Mon Sep 17 00:00:00 2001 From: Boaz Poolman Date: Sat, 12 Oct 2024 20:09:29 +0200 Subject: [PATCH] fix: push to the yalc registry in CI before starting the integration tests --- .github/workflows/tests.yml | 2 ++ package.json | 1 + 2 files changed, 3 insertions(+) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 3e93e42..c316c46 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -42,6 +42,8 @@ jobs: cache: 'yarn' - name: Install dependencies plugin run: yarn --no-lockfile --unsafe-perm + - name: Push the package to yalc + run: yarn build - name: Add yalc package to the playground run: yarn playground:yalc-add - name: Install dependencies playground diff --git a/package.json b/package.json index 384d378..09489c2 100644 --- a/package.json +++ b/package.json @@ -15,6 +15,7 @@ }, "scripts": { "develop": "nodemon -e js,jsx --ignore playground --exec \"yalc publish && yalc push\"", + "build": "yalc push --publish", "eslint": "eslint --max-warnings=0 './**/*.{js,jsx}'", "eslint:fix": "eslint --fix './**/*.{js,jsx}'", "test:unit": "jest --verbose",