Skip to content

chore(deps): update pnpm to v8.15.0 (#2293) #2

chore(deps): update pnpm to v8.15.0 (#2293)

chore(deps): update pnpm to v8.15.0 (#2293) #2

Workflow file for this run

name: 'publish @waline/api'
on:
push:
branches:
- main
paths:
- .github/workflows/release-api.yml
- packages/api/**
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@v2
- 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: Publish NPM
uses: JS-DevTools/npm-publish@v3
with:
token: ${{ secrets.NPM_TOKEN }}
package: ./packages/api