Skip to content
This repository has been archived by the owner on Dec 6, 2020. It is now read-only.

Commit

Permalink
chore: second attempt github actions
Browse files Browse the repository at this point in the history
affects: @platyplus/platyplus
  • Loading branch information
plmercereau committed Sep 24, 2019
1 parent c219f8f commit 64f2e7b
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/npmpublish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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}}

2 changes: 1 addition & 1 deletion frontend/platyplus/src/pages/Profile.vue
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<template lang="pug">
q-page(v-if="$authenticated" padding class="justify-center")
div Profile page
div Profile page.
</template>

<style></style>
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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'",
Expand Down

0 comments on commit 64f2e7b

Please sign in to comment.