chore(deps): bump the dev-dependencies group with 32 updates #236
Workflow file for this run
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: Lint, format and test | |
on: | |
pull_request: | |
branches: | |
- main | |
jobs: | |
setup: | |
runs-on: ubuntu-latest | |
outputs: | |
condition: ${{ steps.condition.outputs.condition }} | |
steps: | |
- id: condition | |
run: | | |
if [[ ${{ github.head_ref }} == "release-please--"* ]]; then | |
echo "condition=true" >> $GITHUB_OUTPUT | |
else | |
echo "condition=false" >> $GITHUB_OUTPUT | |
fi | |
action: | |
needs: [setup] | |
runs-on: ubuntu-latest | |
if: ${{ needs.setup.outputs.condition }} == 'false' | |
steps: | |
- uses: pnpm/action-setup@v2 | |
with: | |
version: 8.10.5 | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
with: | |
ref: ${{ github.head_ref }} | |
- name: Setup Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 18 | |
registry-url: 'https://registry.npmjs.org' | |
- name: Install dependencies | |
run: pnpm install --frozen-lockfile | |
- name: Build packages | |
run: pnpm build | |
- name: Run linters, prettier and tests | |
run: pnpm prepublishOnly | |
- name: Commit changes | |
uses: stefanzweifel/git-auto-commit-action@v5 | |
with: | |
commit_message: 'chore: lint and format code' |