Skip to content

Update Holidays

Update Holidays #3692

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
pull_request_target:
types: [labeled]
workflow_dispatch:
jobs:
ci:
if: github.event_name != 'pull_request_target'
continue-on-error: true
runs-on: ubuntu-latest
strategy:
matrix:
node: ["20"]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
check-latest: true
cache: npm
- run: npm ci
- run: npm run fmt:check
- run: npm run lint
- run: npm test
dependency-review:
if: github.event_name == 'pull_request'
runs-on: ubuntu-latest
steps:
- uses: actions/dependency-review-action@v4
auto-build:
if: github.event_name == 'pull_request' || github.event_name == 'pull_request_target'
runs-on: ubuntu-latest
steps:
- uses: actions/create-github-app-token@v1
id: app-token
with:
app-id: ${{ vars.APP_ID }}
private-key: ${{ secrets.PRIVATE_KEY }}
- uses: actions/checkout@v4
with:
token: ${{ steps.app-token.outputs.token }}
ref: ${{ github.head_ref }}
- uses: actions/setup-node@v4
with:
node-version: "20"
check-latest: true
cache: npm
- run: npm ci
- run: npm run build
- run: git diff --exit-code --quiet
id: git_diff
continue-on-error: true
- uses: yykamei/actions-git-push@main
if: steps.git_diff.outcome == 'failure'
with:
commit-message: "Run `npm run build`"