Skip to content

Commit

Permalink
ci: update
Browse files Browse the repository at this point in the history
  • Loading branch information
2nthony committed Mar 11, 2023
1 parent 696c625 commit 8d2c0e0
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,20 +21,18 @@ jobs:
- name: Checkout
uses: actions/checkout@v3

- name: Install pnpm
uses: pnpm/[email protected]
with:
version: 6.15.1

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: pnpm

- run: pnpm install
- name: Install pnpm
run: npm i -g pnpm

- name: Install deps
run: pnpm i

- run: npx semantic-release
- run: pnpx semantic-release --branches main
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
GH_TOKEN: ${{ secrets.GH_TOKEN || secrets.GITHUB_TOKEN }}

0 comments on commit 8d2c0e0

Please sign in to comment.