fix(deps): update dependency eslint-plugin-unicorn to v51 (#72) #48
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: Continuous Deployment | |
on: | |
push: | |
branches: | |
- main | |
concurrency: ${{ github.workflow }}-${{ github.ref }} | |
env: | |
CI: true | |
jobs: | |
continuous-deployment: | |
runs-on: ubuntu-latest | |
timeout-minutes: 10 | |
steps: | |
- name: Checkout default branch | |
uses: actions/checkout@v4 | |
- name: Use pnpm | |
uses: pnpm/action-setup@v2 | |
with: | |
version: latest | |
- name: Use Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version-file: '.nvmrc' | |
cache: 'pnpm' | |
- name: Install npm dependencies | |
run: pnpm i --frozen-lockfile | |
- name: Create release PR or publish to npm | |
id: changesets | |
uses: changesets/action@v1 | |
with: | |
commit: 'chore: release packages' | |
title: 'chore: release packages' | |
createGithubReleases: true | |
publish: pnpm publish -r --access public | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} |