Skip to content

feat: 🎸 Watch mode #26

feat: 🎸 Watch mode

feat: 🎸 Watch mode #26

Workflow file for this run

name: Release packages
on:
push:
branches:
- main
- beta
- alpha
defaults:
run:
shell: sh
jobs:
release:
name: Release
runs-on: ubuntu-latest
steps:
- name: Wait on tests
uses: lewagon/[email protected]
with:
ref: ${{ github.ref }}
check-name: "Run tests"
repo-token: ${{ secrets.GITHUB_TOKEN }}
wait-interval: 10
- name: Checkout
uses: actions/checkout@v3
- name: Set up Node
uses: actions/setup-node@v3
with:
node-version: "16"
cache: "yarn"
- name: Install packages
run: yarn install --frozen-lockfile
- name: Build
run: yarn build
- name: Publish
run: yarn release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}