Skip to content

Allow __component on mixed type #32

Allow __component on mixed type

Allow __component on mixed type #32

Workflow file for this run

name: CI
on:
push:
branches:
- "main"
- "!alpha/*"
tags:
- "*"
jobs:
publish:
name: Publish
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup Node
uses: actions/setup-node@v2
with:
node-version: "18.x"
- run: yarn
- run: yarn run build
- run: yarn run test
- name: Authenticate with Registry
run: |
yarn logout
echo "@teleporthq:registry=https://registry.npmjs.org/" > .npmrc
echo "registry=https://registry.npmjs.org/" >> .npmrc
echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" >> .npmrc
npm whoami
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
- name: Publish to npm
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
run: npm publish --yes