Skip to content

ci: release v0.3.0 @artilleryio/types (#2162) #16

ci: release v0.3.0 @artilleryio/types (#2162)

ci: release v0.3.0 @artilleryio/types (#2162) #16

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 ci
- run: npm -w '@artilleryio/types' publish --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}