Skip to content

Commit

Permalink
Attempt NPM deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
pfych committed Jun 6, 2023
1 parent fa1408f commit 72469b8
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
12 changes: 10 additions & 2 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,11 @@ jobs:
- uses: actions/setup-node@v3
with:
node-version: 16
- run: npm run build
- uses: pnpm/action-setup@v2
with:
version: 6.0.2
- run: pnpm install
- run: pnpm run build

publish-npm:
needs: build
Expand All @@ -26,7 +30,11 @@ jobs:
with:
node-version: 16
registry-url: https://registry.npmjs.org/
- run: npm build
- uses: pnpm/action-setup@v2
with:
version: 6.0.2
- run: pnpm install
- run: pnpm run build
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{secrets.npm_token}}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "simple-table",
"version": "1.0.1",
"version": "1.0.2",
"description": "",
"main": "dist/index.js",
"module": "dist/index.esm.js",
Expand Down

0 comments on commit 72469b8

Please sign in to comment.