Skip to content

chore: fix pnpm version on release action #53

chore: fix pnpm version on release action

chore: fix pnpm version on release action #53

Workflow file for this run

name: Node.js CI
on:
push:
branches: [main]
jobs:
release:
name: Release
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
with:
node-version: 20
- uses: pnpm/action-setup@v2
with:
version: 8.8.0
- name: Prepare Packages
run: |
pnpm i
pnpm build
pnpm build:docs
- name: Publish @dotenv-run packages
id: changesets
uses: changesets/action@v1
with:
publish: pnpm publish -r --no-git-checks --access public
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}