Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,14 @@ jobs:
- name: Install dependencies
run: pnpm install
- name: Lint
run:
pnpm run lint
run: pnpm run lint
- name: Release
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
NPM_CONFIG_PROVENANCE: true
run: |
echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" > .npmrc
VERSION=${GITHUB_REF#refs/tags/v}
npm version $VERSION --no-git-tag-version
npm publish --provenance --access public
pnpm run build
pnpm version $VERSION --no-git-tag-version
pnpm publish --access public