Skip to content

chore(deps): update github-actions (major) #66

chore(deps): update github-actions (major)

chore(deps): update github-actions (major) #66

Workflow file for this run

name: CI
on:
workflow_dispatch:
pull_request:
branches:
- main
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0
with:
ref: ${{ github.event.pull_request.head.ref }}
- uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # v3.6.0
with:
node-version-file: package.json
cache: yarn
- name: Install dependencies
run: yarn install --frozen-lockfile
- name: Test all actions
run: yarn all
- name: Build all actions
run: yarn workspaces run all
- name: Set git config
run: |
git config user.name "github-actions[bot]"
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
- name: Commit and push
run: |
git add -N . # 新規ファイルを含める
if ! git diff --exit-code --quiet; then
git add .
git commit -m "feat: build all actions"
git push
fi