laconic-console/.github/workflows/main-publish.yml
nikugogoi 8761a54a50
Refactor code to remove dxos and rename to laconic (#5)
* Rename dxos to laconic

* Use react-ux

* Change package scopes from dxos to cerc-io

* Comment github CI publishing package

* Rename dxos to laconic in config files

* Rename Laconic.org to Laconic
2022-12-05 14:16:14 +05:30

44 lines
1.4 KiB
YAML

# This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
name: alpha - Build and Publish
on:
push:
branches: [ main ]
jobs:
test:
runs-on: ubuntu-latest
timeout-minutes: 15
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: 12
registry-url: https://registry.npmjs.org/
- name: Test and build
run: |
# git config --global user.email "npm@dxos.org"
# git config --global user.name "DXOS"
yarn install
yarn lint
yarn test
yarn build
# Uncomment for NPM publishing.
# npm whoami
# yarn lerna publish -y prerelease --dist-tag="alpha" --force-publish
# Publish to WNS
# yarn wire profile init --name $WIRE_PROFILE --template-url "$WIRE_PROFILE_URL"
# export PKG_CHANNEL="@alpha"
# scripts/deploy_apps_to_wns.sh
env:
NODE_AUTH_TOKEN: ${{secrets.npm_token}}
WIRE_WNS_USER_KEY: ${{secrets.wns_user_key}}
WIRE_WNS_BOND_ID: ${{secrets.wns_bond_id}}
WIRE_PROFILE_URL: ${{secrets.wire_profile_url}}
WIRE_PROFILE: ci