Skip to content

v3.1.0-beta.0

v3.1.0-beta.0 #43

Workflow file for this run

name: publish
on:
release:
types: [created]
env:
NPM_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}
NPM_AUTH_TOKEN_ORG: ${{ secrets.NPM_AUTH_TOKEN_ORG }}
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v3
with:
node-version: 14
- name: Install Dependencies
run: yarn --frozen-lockfile
- name: Build packages
run: yarn build-packages
- name: Run linter
run: yarn lint
- name: Run prettier
run: yarn prettier:check
- name: Run tests
run: yarn test
- name: Publish beta
if: github.event.release.prerelease != false
run: sh ./bin/publish.sh beta
- name: Publish
if: github.event.release.prerelease != true
run: sh ./bin/publish.sh