Skip to content

Commit 22715da

Browse files
committed
v1.0.0 Lemonsoft 2024.5
1 parent a4202d6 commit 22715da

File tree

4 files changed

+4024
-2339
lines changed

4 files changed

+4024
-2339
lines changed

.github/workflows/npm-publish.yml

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@
33

44
name: Npm Publish Package
55

6+
env:
7+
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
8+
69
on:
710
release:
811
types: [created]
@@ -14,10 +17,13 @@ jobs:
1417
- uses: actions/checkout@v3
1518
- uses: actions/setup-node@v3
1619
with:
17-
node-version: 16
20+
node-version: 18
1821
registry-url: https://registry.npmjs.org/
1922
- run: npm ci
2023
- run: npm run build
21-
- run: npm publish --access public
22-
env:
23-
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
24+
- name: Publish NPM
25+
if: '!github.event.release.prerelease'
26+
run: npm publish
27+
- name: Publish NPM (beta)
28+
if: 'github.event.release.prerelease'
29+
run: npm publish --tag beta

0 commit comments

Comments
 (0)