Skip to content

ci: run test on main push #1

ci: run test on main push

ci: run test on main push #1

Workflow file for this run

name: publish
on:
push:
tags:
- v*
permissions:
contents: read
jobs:
publish-npm:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- run: corepack enable
- uses: actions/setup-node@b39b52d1213e96004bfcb1c61a8a6fa8ab84f3e8 # v4.0.1
with:
node-version-file: .node-version
registry-url: https://registry.npmjs.org/
- run: pnpm install
- run: pnpm version ${GITHUB_REF_NAME#v}
- run: pnpm publish
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
- uses: ncipollo/release-action@6c75be85e571768fa31b40abf38de58ba0397db5 # v1.13.0
with:
generateReleaseNotes: true