Skip to content

Commit

Permalink
Add node setup for fonts workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
ijjk committed Aug 7, 2023
1 parent 6483903 commit 7837242
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/update_fonts_data.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ on:
# Allow manual runs
workflow_dispatch:

env:
NODE_LTS_VERSION: 18.16.1

jobs:
create-pull-request:
runs-on: ubuntu-latest
Expand All @@ -18,6 +21,14 @@ jobs:
# 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
Expand Down

0 comments on commit 7837242

Please sign in to comment.