Skip to content

chore(deps): update pnpm to v9.14.2 (#112) #87

chore(deps): update pnpm to v9.14.2 (#112)

chore(deps): update pnpm to v9.14.2 (#112) #87

Workflow file for this run

name: Release
on:
push:
branches:
- main
env:
LEFTHOOK: 0
CI: true
permissions:
contents: write
packages: write
pull-requests: write
concurrency: ${{ github.workflow }}-${{ github.ref }}
jobs:
release:
name: ⏳ Release
runs-on: ubuntu-latest
steps:
# - name: 🦖 Cancel Previous Runs
# uses: styfle/cancel-workflow-action@0.12.1
- name: 🔻 Checkout repo
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: 🏃 Run Node and NPM setup
uses: ./.github/actions/setup-project
- name: 📄 Create .npmrc
run: |
echo "//npm.pkg.github.com/:_authToken=${{ secrets.GITHUB_TOKEN }}" > ~/.npmrc
echo "@tutods:registry=https://npm.pkg.github.com" >> ~/.npmrc
- name: 📦 Create Release
id: changesets
uses: changesets/action@v1
env:
LEFTHOOK: 0
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
createGithubReleases: true
version: pnpm version:create
publish: pnpm version:publish --no-git-checks --tag latest
title: '🤖 ci(changesets): :package: version packages'
commit: 'ci(changesets): version packages'
- name: 👧 Lint check
id: lint
run: |
pnpm lint:fix
# Check for changes
if git diff --name-only --exit-code; then
echo "has_changes=false" >> $GITHUB_OUTPUT
else
echo "has_changes=true" >> $GITHUB_OUTPUT
fi
- uses: stefanzweifel/git-auto-commit-action@v5
with:
# Optional. Commit message for the created commit.
# Defaults to "Apply automatic changes"
commit_message: "fix(lint): errors"