Skip to content

ci: modify the package publish shell script #212

ci: modify the package publish shell script

ci: modify the package publish shell script #212

Workflow file for this run

name: Release
on:
workflow_dispatch:
push:
branches:
- main
concurrency: ${{ github.workflow }}-${{ github.ref }}
jobs:
release:
name: Release
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
uses: actions/checkout@v3
- run: git config user.name "luohuidong"
- run: git config user.email "[email protected]"
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: 18
registry-url: "https://registry.npmjs.org"
- name: Setup pnpm
uses: pnpm/action-setup@v2
with:
version: 8
- name: Publish packages
run: .github/scripts/publish-package.sh
shell: bash
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}