Skip to content

Commit

Permalink
2024-11-20 15:19:27: merge [main:4dbda7d46e4f6075156ce195fc6cc0d96150…
Browse files Browse the repository at this point in the history
…8c05];
  • Loading branch information
txix committed Nov 20, 2024
1 parent 3e157af commit 576d5ee
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 3 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Publish Package to npmjs
on:
push:
tags:
- 'v*'
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: read
id-token: write
steps:
- uses: actions/checkout@v4
# Setup .npmrc file to publish to npm
- uses: actions/setup-node@v4
with:
node-version: '20.x'
registry-url: 'https://registry.npmjs.org'
- run: npm install --legacy-peer-deps
- run: rollup -c
- run: npm publish --provenance --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"description": "react ui lib for project",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"license": "ISC",
"license": "MIT",
"keywords": [],
"files": [
"dist"
Expand Down

0 comments on commit 576d5ee

Please sign in to comment.