Skip to content

v2.4.4

v2.4.4 #33

name: publish to npm
on:
release:
types: [released]
permissions:
contents: read
jobs:
ci:
uses: ./.github/workflows/_ci.yaml
publish:
needs: [ci]
runs-on: ubuntu-latest
permissions:
contents: read
# This is required for provenance
# see https://docs.npmjs.com/generating-provenance-statements
id-token: write
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/prepare_ci
- run: npm run build
shell: bash
- run: npm publish --workspace=packages/http-helper --access=public --provenance
shell: bash
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}