Skip to content

Update fix event.target.value loss during next tick #29

Update fix event.target.value loss during next tick

Update fix event.target.value loss during next tick #29

Workflow file for this run

name: Publish packages to NPM
on:
pull_request:
paths:
- "packages/realm/**/*"
branches:
- main
types:
- closed
jobs:
publish:
if: github.event.pull_request.merged == true
runs-on: ubuntu-latest
permissions: write-all
env:
NPM_AUTH_TOKEN: ${{secrets.NPM_AUTH_TOKEN}}
steps:
- name: Checkout Code
uses: actions/checkout@v3
with:
token: ${{secrets.REALM_PAT}}
fetch-depth: 2
- name: Install pnpm
uses: pnpm/action-setup@v2.0.1
with:
version: 8.6.12
- name: Setup Node.js environment
uses: actions/setup-node@v3
with:
node-version: 18
cache: "pnpm"
registry-url: https://registry.npmjs.org
- name: Install dependencies
run: pnpm install --no-frozen-lockfile
- name: Publish
run: |
git config --global user.email "god@realm.codes"
git config --global user.name "realmorg"
npm config set //registry.npmjs.org/:_authToken ${NPM_AUTH_TOKEN}
npm run publish-pkgs
git status
git add .
git reset -- pnpm-lock.yaml
git commit -m 'chore: version update'
git restore pnpm-lock.yaml
git push -u origin $(git branch --show-current) --follow-tags