Skip to content

Commit

Permalink
ci: add GHA workflow to publish apdex plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
hassy committed May 11, 2023
1 parent b6c3fd5 commit 031aacf
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/npm-publish-artillery-plugin-apdex.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Publish artillery-plugin-apdex to npm
on:
push:
branches:
- main
paths:
- packages/artillery-plugin-apdex/package.json
jobs:
build:
if: "contains(github.event.head_commit.message, 'ci: release v')"
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: '16.x'
registry-url: 'https://registry.npmjs.org'
scope: '@artilleryio'
- run: npm -w artillery-plugin-apdex publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 comments on commit 031aacf

Please sign in to comment.