Skip to content

Commit

Permalink
Merge pull request #10 from PureMVC/develop
Browse files Browse the repository at this point in the history
Develop
  • Loading branch information
cliffhall authored Sep 13, 2024
2 parents a1143a2 + f5e98b2 commit f2def9a
Show file tree
Hide file tree
Showing 3 changed files with 447 additions and 1,379 deletions.
14 changes: 12 additions & 2 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,18 @@ jobs:
- run: xvfb-run --auto-servernum npm run test:chrome
- run: xvfb-run --auto-servernum npm run test:firefox

- name: Publish to npm dry-run
if: github.ref == 'refs/heads/master' && github.event_name == 'pull_request'
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
run: |
echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" > ~/.npmrc
npm publish --dry-run
- name: Publish to npm
if: github.ref == 'refs/heads/master' && github.event_name == 'push'
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
run: npm publish
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
run: |
echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" > ~/.npmrc
npm publish
Loading

0 comments on commit f2def9a

Please sign in to comment.