Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
# This workflow will run tests using node and then publish a package to GitHub Packages when a release is created
# For more information see: https://docs.github.com/en/actions/publishing-packages/publishing-nodejs-packages
# Run tests for pull requests, releases, and manual dispatches. Publish only for releases and manual dispatches.

name: Node.js Package

on:
pull_request:
release:
types: [created]
workflow_dispatch:
Expand All @@ -20,6 +20,7 @@ jobs:
- run: npm test

publish-npm:
if: github.event_name == 'release' || github.event_name == 'workflow_dispatch'
needs: build
runs-on: ubuntu-latest
steps:
Expand Down
Loading
Loading