Skip to content

ci-publish

ci-publish #1

Workflow file for this run

name: ci-publish
on:
workflow_call:
workflow_dispatch:
branches:
- v1
permissions:
contents: write
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
jobs:
publish:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
# Fetch the entire Git history to access the latest tag release
fetch-depth: 0
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 18
- name: Install packages
run: |
yarn up
yarn install
- name: Publish packages
run: |
yarn ci-publish