Skip to content

Commit fca9aa2

Browse files
authored
Merge pull request #20 from frontapp/tsup_package_action
Github action to publish NPM Package
2 parents df90afa + 7cba3ff commit fca9aa2

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: Build Package and Publish to NPM
2+
on:
3+
release:
4+
types: [published]
5+
6+
jobs:
7+
build:
8+
runs-on: ubuntu-latest
9+
steps:
10+
- uses: actions/checkout@v4
11+
- name: Cache and Install npm
12+
uses: ./.github/actions/cache-and-install-npm
13+
- name: Build Package
14+
run: npm run build:packages
15+
- name: Publish Package
16+
run: npm publish --access public
17+
env:
18+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 commit comments

Comments
 (0)