Skip to content

chore: add workflows #2

chore: add workflows

chore: add workflows #2

Workflow file for this run

name: Tag Release
on:
push:
branches:
- main
jobs:
deploy:
runs-on: ubuntu-latest
if: "! contains(github.event.head_commit.message, '[skip ci]')"
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: '18.x'
cache: 'pnpm'
- name: Install pnpm
run: npm install -g pnpm
- name: Add pnpm to PATH
run: echo "::add-path::$(npm bin -g)"
- name: Install dependencies
run: pnpm install
- name: Run deploy script
run: pnpm run deploy
- name: Run tag version
run: pnpm run release