Skip to content

feat: add spanish language (#2721) #157

feat: add spanish language (#2721)

feat: add spanish language (#2721) #157

name: 'publish @waline/client'
on:
push:
branches:
- main
paths:
- .github/workflows/release-client.yml
- packages/client/**
permissions:
contents: write
id-token: write
jobs:
publish:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Install pnpm
uses: pnpm/action-setup@v4
- name: Install Node.js
uses: actions/setup-node@v4
with:
node-version: 20
cache: pnpm
- name: Install Dependencies
run: pnpm install --frozen-lockfile
- name: Build API
run: pnpm api:build
- name: Build Client
run: pnpm client:build
- name: WorkSpace DepCheck
run: node scripts/workspace-publish.cjs @waline/client
- name: Publish NPM
uses: JS-DevTools/npm-publish@v3
with:
token: ${{ secrets.NPM_TOKEN }}
package: ./packages/client