Skip to content

Commit d41f292

Browse files
committed
fix: push to the yalc registry in CI before starting the integration tests
1 parent 2b6bf4d commit d41f292

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

.github/workflows/tests.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,8 @@ jobs:
4242
cache: 'yarn'
4343
- name: Install dependencies plugin
4444
run: yarn --no-lockfile --unsafe-perm
45+
- name: Push the package to yalc
46+
run: yarn build
4547
- name: Add yalc package to the playground
4648
run: yarn playground:yalc-add
4749
- name: Install dependencies playground

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
},
1616
"scripts": {
1717
"develop": "nodemon -e js,jsx --ignore playground --exec \"yalc publish && yalc push\"",
18+
"build": "yalc push --publish",
1819
"eslint": "eslint --max-warnings=0 './**/*.{js,jsx}'",
1920
"eslint:fix": "eslint --fix './**/*.{js,jsx}'",
2021
"test:unit": "jest --verbose",

0 commit comments

Comments
 (0)