Skip to content

Commit

Permalink
ci: fix error with publish
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinccbsg committed Mar 21, 2024
1 parent e8fe5cf commit 2ac512d
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,14 @@ jobs:
with:
node-version: 20
registry-url: https://registry.npmjs.org/
# Install TypeScript and type definitions
- name: Install dependencies
run: npm install typescript @types/node

# Build TypeScript files
- name: Build
run: npm run build

- run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 comments on commit 2ac512d

Please sign in to comment.