fix error message #16
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Release | |
on: | |
push: | |
branches: | |
- main | |
concurrency: ${{ github.workflow }}-${{ github.ref }} | |
jobs: | |
release: | |
name: Release | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Repo | |
uses: actions/checkout@v3 | |
- name: Setup PNPM | |
uses: pnpm/[email protected] | |
with: | |
node-version: 8.9.2 | |
- name: Use Node.js 18 | |
uses: actions/setup-node@v3 | |
with: | |
version: 8.9.2 | |
node-version: 18 | |
cache: "pnpm" | |
- name: Install Dependencies | |
run: pnpm install | |
- name: Build the package | |
run: pnpm build:cli | |
- name: Create Version PR or Publish to NPM | |
id: changesets | |
uses: changesets/[email protected] | |
with: | |
publish: pnpm run release:cli | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} |