Skip to content

Bump postcss from 8.4.45 to 8.4.47 in /pages #18

Bump postcss from 8.4.45 to 8.4.47 in /pages

Bump postcss from 8.4.45 to 8.4.47 in /pages #18

# pages の dependabot はバージョン更新後に npm install をしてあげないと package-lock.json との統合性が取れなくなるっぽいのでそれをする
name: npm install after dependabot
on:
pull_request:
branches:
- pre-development
paths:
- 'pages/**'
workflow_dispatch:
env:
NODE_VERSION: 20.16.0
permissions:
contents: write
jobs:
npm-install:
runs-on: ubuntu-latest
environment:
name: bot
steps:
- uses: actions/checkout@v4
with:
ref: ${{ github.head_ref }}
- name: setup node
uses: actions/setup-node@v4
with:
node-version: ${{ env.NODE_VERSION }}
- name: npm install
run: npm install
- name: get diff
id: diff
continue-on-error: true
run: |
git add -N .
git diff --name-only --exit-code
- name: commit and push
if: steps.diff.outcome == 'failure'
run: |
set -x
git config user.name "maretol-bot"
git config user.email "[email protected]"
git add .
git commit -m "[bot]chore(deps): update dependencies"
git push
recall-deploy-dry:
needs: npm-install
uses: ./.github/workflows/deploy_dryrun.yaml