Skip to content

due to client bug, it's not always possible to know what cards were d… #118

due to client bug, it's not always possible to know what cards were d…

due to client bug, it's not always possible to know what cards were d… #118

Workflow file for this run

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 || ^20.10 || >=22 } }
- { name: Setup pnpm, uses: pnpm/action-setup@v3, with: { version: ^10, run_install: true } }
- run: git config --global user.email github-action@users.noreply.github.com
- 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