Skip to content
This repository was archived by the owner on Feb 25, 2024. It is now read-only.

Commit f0f0b29

Browse files
authored
Create main.yml
1 parent e305762 commit f0f0b29

1 file changed

Lines changed: 19 additions & 0 deletions

File tree

.github/workflows/main.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: Publish Package
2+
3+
on:
4+
release:
5+
types: [created]
6+
7+
jobs:
8+
build:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: actions/checkout@v3
12+
- uses: actions/setup-node@v3
13+
with:
14+
node-version: "16.x"
15+
registry-url: "https://registry.npmjs.org"
16+
- run: npm ci
17+
- run: npm publish --access=public
18+
env:
19+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 commit comments

Comments
 (0)