Skip to content

Commit

Permalink
chore: add publish workflow for "@artilleryio/types"
Browse files Browse the repository at this point in the history
  • Loading branch information
kettanaito committed Aug 8, 2023
1 parent ed82493 commit 4332477
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/npm-publish-artillery-types.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Publish @artilleryio/types to npm
on:
push:
branches:
- main
paths:
- packages/types/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: '18.x'
registry-url: 'https://registry.npmjs.org'
scope: '@artilleryio'
- run: npm -w '@artilleryio/types' publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 comments on commit 4332477

Please sign in to comment.