Skip to content

Merge pull request #13 from teleporthq/fix/animate-on-reveal-build #31

Merge pull request #13 from teleporthq/fix/animate-on-reveal-build

Merge pull request #13 from teleporthq/fix/animate-on-reveal-build #31

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