Skip to content

Release v3.2.1

Release v3.2.1 #17

Workflow file for this run

name: Release NPM
on:
push:
tags:
- 'v*'
jobs:
release:
runs-on: ubuntu-latest
permissions:
contents: read
id-token: write
steps:
- name: Checkout Code
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
registry-url: https://registry.npmjs.org/
- run: npm install
env:
PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD: 1
- run: npm run build
- run: npm publish --access public --provenance
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
- uses: ncipollo/release-action@v1
with:
artifacts: "dist/amqp-websocket-client.mjs*"
token: ${{ secrets.GITHUB_TOKEN }}