Skip to content

Get 1.3.0 published as the next version #1224

Get 1.3.0 published as the next version

Get 1.3.0 published as the next version #1224

Workflow file for this run

name: Release
on:
push:
branches-ignore:
- gitbook-updates
paths-ignore:
- docs/**
jobs:
release:
runs-on: ubuntu-latest
if: "!contains(github.event.head_commit.message, 'ci skip') && !contains(github.event.head_commit.message, 'skip ci')"
steps:
- name: Checkout
uses: actions/checkout@v4
with:
# Ensure that git uses your token with admin access to the repo
token: ${{ secrets.ADMIN_TOKEN }}
fetch-depth: 0
- run: git fetch --tags --depth=1 origin +refs/tags/*:refs/tags/*
- name: Setup node
uses: actions/setup-node@v4
with:
node-version: 18
cache: 'npm'
registry-url: 'https://registry.npmjs.org'
- name: Auto release
env:
GH_TOKEN: ${{ secrets.GH_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
SLACK_TOKEN: ${{ secrets.SLACK_TOKEN }}
run: |
npm ci
cd packages/ui
npm run build
cd ../..
npx auto shipit