chore(deps): update dependency use-debounce to v10 (#912) #1125
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: Changesets | |
on: | |
push: | |
branches: | |
- main | |
env: | |
CI: true | |
HUSKY: 0 | |
jobs: | |
version: | |
timeout-minutes: 15 | |
runs-on: ubuntu-latest | |
steps: | |
- name: checkout code repository | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: setup node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 18 | |
- name: Cache pnpm modules | |
uses: actions/cache@v4 | |
with: | |
path: ~/.pnpm-store | |
key: ${{ runner.os }}-${{ hashFiles('**/pnpm-lock.yaml') }} | |
restore-keys: | | |
${{ runner.os }}- | |
- uses: pnpm/action-setup@v4.0.0 | |
id: install_pnpm | |
with: | |
version: 9.1.0 | |
- name: echo npm dest | |
run: echo "pnpm installed in ${{steps.install_pnpm.outputs.dest}}" | |
- name: Creating .npmrc | |
run: | | |
"${GITHUB_WORKSPACE}/scripts/create-npmrc.sh" "${{ secrets.NPM_TOKEN }}" "${{ secrets.GSAP_TOKEN }}" | |
env: | |
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} | |
GSAP_TOKEN: ${{ secrets.GSAP_TOKEN }} | |
- name: install dependencies | |
run: pnpm install | |
- name: Create PR or Publish release | |
id: changesets | |
uses: changesets/action@v1 | |
with: | |
version: pnpm ci:version | |
commit: 'chore: update versions' | |
title: 'chore: update versions' | |
publish: pnpm release | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} | |
- name: Update lock file | |
run: pnpm install --no-frozen-lockfile | |
- name: Commit lock file | |
uses: stefanzweifel/git-auto-commit-action@v5 | |
with: | |
commit_message: "chore: update lock file" | |
branch: changeset-release/main |