update bounce binlog regex to allow multiple bounce discards #98
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Publish | |
on: { push: { branches: [ main ] }, release: { types: [ created ] } } | |
jobs: | |
publish: | |
name: Publish | |
runs-on: ubuntu-latest | |
steps: | |
- { name: Checkout, uses: actions/checkout@v4 } | |
- { name: Setup Node.js environment, uses: actions/setup-node@v4, with: { node-version: ^18 || >=20 } } | |
- { name: Setup pnpm, uses: pnpm/action-setup@v3, with: { version: ^9.0.4, run_install: true } } | |
- run: git config --global user.email [email protected] | |
- run: git config --global user.name "Github Action" | |
- run: npm config set //registry.npmjs.org/:_authToken ${{ secrets.NPM_TOKEN }} | |
- name: Publish dev | |
if: github.event_name == 'push' | |
run: scripts/version-dev.js && scripts/package.sh && cd dist && npm publish --no-git-checks --tag dev | |
- name: Publish release | |
if: github.event_name == 'release' | |
run: scripts/package.sh && cd dist && npm publish --no-git-checks |