Skip to content
This repository has been archived by the owner on Aug 16, 2024. It is now read-only.

Merge pull request #102 from Unboxed-Software/master #14

Merge pull request #102 from Unboxed-Software/master

Merge pull request #102 from Unboxed-Software/master #14

Workflow file for this run

name: Publish
on:
push:
branches:
- 'master'
- 'main'
- '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: 16
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