Skip to content

Merge pull request #59 from aneoconsulting/chore/update-publish-ci #36

Merge pull request #59 from aneoconsulting/chore/update-publish-ci

Merge pull request #59 from aneoconsulting/chore/update-publish-ci #36

Workflow file for this run

name: Publish
permissions:
contents: write
on:
push:
tags:
- '**'
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
with:
fetch-depth: 0
- uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4
with:
node-version: '18'
registry-url: https://registry.npmjs.org/
- run: npm i -g pnpm @antfu/ni
- run: nci
- run: pnpm exec playwright install
- run: pnpm publish --access public --no-git-checks
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
- run: npx changelogithub
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}