Skip to content

fix: upgrade @types/node from 18.14.6 to 18.17.15 #2601

fix: upgrade @types/node from 18.14.6 to 18.17.15

fix: upgrade @types/node from 18.14.6 to 18.17.15 #2601

name: update-font-data
create : pull request
# Run every every day at midnight https://crontab.guru/#0_0_*_*_*/1

Check failure on line 4 in .github/workflows/update_fonts_data.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/update_fonts_data.yml

Invalid workflow file

You have an error in your yaml syntax on line 4
- cron: '0 0 * * */1'
# Allow manual runs
workflow_dispatch:
env:
NODE_LTS_VERSION: 18.16.1
jobs:
create-pull-request:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
# Commits made with the default `GITHUB_TOKEN` won't trigger workflows.
# See: https://docs.github.com/en/actions/security-guides/automatic-token-authentication#using-the-github_token-in-a-workflow
token: ${{ secrets.RELEASE_BOT_GITHUB_TOKEN }}
- name: Setup node
uses: actions/setup-node@v3
with:
node-version: ${{ env.NODE_LTS_VERSION }}
check-latest: true
- run: corepack enable
- name: Install dependencies
shell: bash
run: pnpm i
- name: Create Pull Request
shell: bash
run: node scripts/update-fonts-data-workflow.js
env:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN_PULL_REQUESTS }}