diff --git a/.github/workflows/npm-release.yml b/.github/workflows/npm-release.yml new file mode 100644 index 00000000..213bd3ca --- /dev/null +++ b/.github/workflows/npm-release.yml @@ -0,0 +1,22 @@ +name: NPM release + +on: + pull_request: + branches: [master] + types: + - opened + - synchronize + - reopened + # Triggers the workflow when labels change in the PR + - labeled + - unlabeled + push: + branches: + - master + +jobs: + npm-release: + uses: mapbox/gha/.github/workflows/workflow-release-npm-package.yml@workflow-release-npm-package-v1 + secrets: inherit + with: + is-public: true # Enable OIDC authentication for public packages