Skip to content

chore: disallow .only test to be commited #111

chore: disallow .only test to be commited

chore: disallow .only test to be commited #111

name: release-please
on:
push:
branches:
- main
permissions:
contents: write
pull-requests: write
jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: google-github-actions/release-please-action@v4
id: release
publish:
runs-on: ubuntu-latest
needs: release
if: needs.release.outputs.release_created
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Install pnpm
uses: pnpm/action-setup@v3
- name: Use Node.js v20
uses: actions/setup-node@v4
with:
node-version: '20'
cache: pnpm
- run: pnpm install
- name: Build
run: pnpm run build
- name: Publish
run: pnpm --filter "unminify" --filter "unpacker" --filter "cli" publish -r --access public
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}