Comment github CI publishing package

This commit is contained in:
nabarun 2022-12-02 18:56:29 +05:30
parent c364eee562
commit 60b344316f

View File

@ -8,7 +8,7 @@ on:
branches: [ main ] branches: [ main ]
jobs: jobs:
publish: test:
runs-on: ubuntu-latest runs-on: ubuntu-latest
timeout-minutes: 15 timeout-minutes: 15
steps: steps:
@ -17,24 +17,24 @@ jobs:
with: with:
node-version: 12 node-version: 12
registry-url: https://registry.npmjs.org/ registry-url: https://registry.npmjs.org/
- name: Build and WNS publish - name: Test and build
run: | run: |
git config --global user.email "npm@dxos.org" # git config --global user.email "npm@dxos.org"
git config --global user.name "DXOS" # git config --global user.name "DXOS"
yarn install yarn install
yarn build
yarn test
yarn lint yarn lint
yarn test
yarn build
# Uncomment for NPM publishing. # Uncomment for NPM publishing.
npm whoami # npm whoami
yarn lerna publish -y prerelease --dist-tag="alpha" --force-publish # yarn lerna publish -y prerelease --dist-tag="alpha" --force-publish
# Publish to WNS # Publish to WNS
yarn wire profile init --name $WIRE_PROFILE --template-url "$WIRE_PROFILE_URL" # yarn wire profile init --name $WIRE_PROFILE --template-url "$WIRE_PROFILE_URL"
export PKG_CHANNEL="@alpha" # export PKG_CHANNEL="@alpha"
scripts/deploy_apps_to_wns.sh # scripts/deploy_apps_to_wns.sh
env: env:
NODE_AUTH_TOKEN: ${{secrets.npm_token}} NODE_AUTH_TOKEN: ${{secrets.npm_token}}
WIRE_WNS_USER_KEY: ${{secrets.wns_user_key}} WIRE_WNS_USER_KEY: ${{secrets.wns_user_key}}