Skip to content

Commit

Permalink
add publish action
Browse files Browse the repository at this point in the history
  • Loading branch information
jaydanielsencision committed Aug 30, 2024
1 parent 9f0f623 commit 3424c96
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/node-package-pipeline.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# For official documentation on this workflow, please refer to the link below.
# https://github.com/brandwatch/bw-workflow-actions/blob/dev/workflows/node/node-deploy-package.yaml.md
name: CI Pipeline - Publish Package

permissions:
checks: write
contents: write
packages: read

#on:
# release:
# types: [ released ] # can be `published` to run on pre-release instead of production releases
on:
workflow_dispatch: # used for workflow-tests
push:
branches:
- main
- master

jobs:
build-pipeline:
name: "Publish"
uses: brandwatch/bw-workflow-actions/.github/workflows/node-deploy-package.yaml@stage
with:
node-version: 20
build-step: true
linter: true # optional, will run "npm run lint". Set to false if you do not have a lint configuration
test: true # optional, will run "npm test". Set to false if you do not have a test suite yet
multiple-packages: false
secrets: inherit

0 comments on commit 3424c96

Please sign in to comment.