Skip to content

Commit

Permalink
chore: update publish workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
reapziq committed Dec 11, 2023
1 parent 5e8ec5f commit 1cd413e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,15 @@ jobs:
with:
version: 8

- uses: actions/setup-node@v3
with:
node-version: '20.x'
registry-url: 'https://registry.npmjs.org'

- name: Install
run: pnpm install

- name: Build
run: pnpm build

- name: Publish
run: pnpm publish
run: pnpm publish --no-git-checks
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
"analytics"
],
"scripts": {
"preinstall": "npx only-allow pnpm",
"build": "del-cli dist && tsc",
"prepublishOnly": "pnpm build",
"lint": "eslint src --fix --max-warnings 0",
Expand Down

0 comments on commit 1cd413e

Please sign in to comment.