Skip to content

Merge pull request #887 from sheinsight/release-3.5.5 #330

Merge pull request #887 from sheinsight/release-3.5.5

Merge pull request #887 from sheinsight/release-3.5.5 #330

Workflow file for this run

name: publish
on:
push:
tags:
- 'version-*'
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.19.1]
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 1
ref: ${{ github.event.release.tag_name}}
- name: Use Pnpm
uses: pnpm/action-setup@v4
with:
version: 9.4.0
- name: dependencies
run: pnpm install --frozen-lockfile
- name: build
run: pnpm run build:pkg
- name: set token
run: echo -e //registry.npmjs.org/:_authToken=${NPM_TOKEN} >> .npmrc
env:
NPM_TOKEN: ${{ secrets.SHINEOUT_PUB_TOKEN }}
- name: publish
run: pnpm run release