Skip to content

Merge pull request #12 from magiclabs/noahyoshida-patch-1 #6

Merge pull request #12 from magiclabs/noahyoshida-patch-1

Merge pull request #12 from magiclabs/noahyoshida-patch-1 #6

Workflow file for this run

name: Publish
on:
push:
branches:
- 'master'
- 'staging'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
jobs:
publish:
runs-on: ubuntu-20.04
name: Publish
environment: production
steps:
- uses: actions/checkout@v3
with:
token: ${{ secrets.GITHUB_TOKEN }}
- name: Prepare repository
run: git fetch --unshallow --tags
- name: Setup node
uses: actions/setup-node@v3
with:
node-version: 20
cache: 'yarn'
- name: Install dependencies
run: |
yarn -v
yarn install --immutable
- name: Build
run: yarn run build
- name: Create Release
run: yarn auto shipit -v