diff --git a/.github/workflows/npmpublish.yml b/.github/workflows/npmpublish.yml index f4f760e2..dd43d95e 100644 --- a/.github/workflows/npmpublish.yml +++ b/.github/workflows/npmpublish.yml @@ -20,8 +20,8 @@ jobs: - uses: actions/setup-node@v1 with: node-version: 12 - - run: yarn global add lerna - - run: lerna bootstrap + - run: yarn install + - run: ls publish-npm: needs: build @@ -32,7 +32,7 @@ jobs: with: node-version: 12 registry-url: https://registry.npmjs.org/ - - run: lerna publish from-git + - run: yarn publish env: NODE_AUTH_TOKEN: ${{secrets.npm_token}} diff --git a/frontend/platyplus/src/pages/Profile.vue b/frontend/platyplus/src/pages/Profile.vue index c42439d5..49835f4e 100644 --- a/frontend/platyplus/src/pages/Profile.vue +++ b/frontend/platyplus/src/pages/Profile.vue @@ -1,6 +1,6 @@ diff --git a/package.json b/package.json index 4bc7e518..289cf496 100644 --- a/package.json +++ b/package.json @@ -16,10 +16,11 @@ "lint-fix": "eslint . --ext .js,.ts --fix", "pre-commit": "yarn lint-staged", "pre-push": "yarn format-check", - "postinstall": "yarn build && lerna link", + "postinstall": "lerna bootstrap", "test": "lerna run test --parallel", "typecheck": "lerna run typecheck", "release": "lerna version", + "publish": "lerna publish from-git", "console": "lerna run --scope @platyplus/graphql-engine console", "dev": "concurrently \"dotenv -- docker-compose -f docker-compose.yml -f docker-compose-dev.yml up --build\" \"yarn run console\"", "docker:build-published": "echo 'TODO: tag' && lerna exec 'test -e $PWD/Dockerfile-published && docker build -t $(echo $LERNA_PACKAGE_NAME | cut -c 2-) -f $PWD/Dockerfile-published $LERNA_ROOT_PATH || exit 0'",