Skip to content
This repository has been archived by the owner on Apr 1, 2024. It is now read-only.

Commit

Permalink
Test publish npm workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
ncmbadmin committed Oct 4, 2023
1 parent 3ea5aec commit 89d9318
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/npmpublish.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
name: Publish package monaca_push_plugin

on:
release:
types: [published]
push:
branches:
- add_npm_flow

jobs:
build:
Expand All @@ -15,6 +16,6 @@ jobs:
registry-url: 'https://registry.npmjs.org/'
- run: npm ci
- run: npm test
- run: npm publish
- run: npm pack --dry-run
env:
NODE_AUTH_TOKEN: ${{secrets.npm_token}}

0 comments on commit 89d9318

Please sign in to comment.