fix(web): improve input handling across browsers (#9) (#10) #6
This file contains hidden or 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 to NPM | |
| on: | |
| push: | |
| paths: | |
| - 'packages/**' | |
| branches: | |
| - main | |
| jobs: | |
| release: | |
| name: Release | |
| runs-on: ubuntu-latest | |
| steps: | |
| - id: yarn-cache | |
| name: Get Yarn cache path | |
| run: echo "::set-output name=dir::$(yarn cache dir)" | |
| - name: Checkout Repo | |
| uses: actions/checkout@master | |
| with: | |
| # This makes Actions fetch all Git history so that Changesets can generate changelogs with the correct commits | |
| fetch-depth: 0 | |
| - name: Setup Node.js 18.x | |
| uses: actions/setup-node@master | |
| with: | |
| node-version: 18.x | |
| - uses: actions/cache@70655ec8323daeeaa7ef06d7c56e1b9191396cbe | |
| name: Load Yarn cache | |
| with: | |
| path: ${{ steps.yarn-cache.outputs.dir }} | |
| key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }} | |
| restore-keys: | | |
| ${{ runner.os }}-yarn- | |
| - name: Install Dependencies | |
| run: yarn install --frozen-lockfile | |
| - name: Setup CI Git User | |
| run: | | |
| git config --global user.email "eyuel.berga@yahoo.com" | |
| git config --global user.name "eyuelberga" | |
| - name: Publish packages | |
| uses: changesets/action@master | |
| with: | |
| publish: yarn release | |
| commit: 'chore(release): version packages' | |
| env: | |
| NPM_TOKEN: ${{ secrets.NPM_TOKEN }} | |
| GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} |