Skip to content

Commit

Permalink
action
Browse files Browse the repository at this point in the history
  • Loading branch information
twlite committed Oct 23, 2023
1 parent d564803 commit f0d6b67
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,9 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: 18
node-version: 20
registry-url: https://registry.npmjs.org/
- run: npm install
- run: npm run build
- run: npm publish --access public
env:
NODE_AUTH_TOKEN: ${{secrets.npm_token}}
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
},
"scripts": {
"build": "npm run build:node && npm run build:deno",
"prepublishOnly": "npm run build",
"build:node": "tsup",
"build:deno": "node scripts/deno.js",
"format": "prettier --write **/*.{js,ts}"
Expand Down

0 comments on commit f0d6b67

Please sign in to comment.