Skip to content

Commit 4b4dccf

Browse files
committed
Updated GitHub action and the package version to beta7.
1 parent 7c1bff1 commit 4b4dccf

File tree

2 files changed

+7
-8
lines changed

2 files changed

+7
-8
lines changed

.github/workflows/npm_deploy.yml

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,9 @@ jobs:
1414
node-version: 18
1515
- name: Install Node types
1616
run: npm install @types/node
17-
- name: Run build
18-
run: npm run build
19-
- name: Publish package
20-
if: github.event_name == 'release' && github.event.action == 'created'
21-
uses: JS-DevTools/npm-publish@v1
22-
with:
23-
token: ${{ secrets.NPM }}
17+
- name: Install dependencies and build
18+
run: npm ci && npm run build
19+
- name: Publish package on NPM
20+
run: npm publish
21+
env:
22+
NODE_AUTH_TOKEN: ${{ secrets.NPM }}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@onesignal/node-onesignal",
3-
"version": "1.0.0-beta6",
3+
"version": "1.0.0-beta7",
44
"description": "OpenAPI client for @onesignal/node-onesignal",
55
"author": "OpenAPI-Generator Contributors",
66
"keywords": [

0 commit comments

Comments
 (0)