Add node setup for fonts workflow

parent 64839033
...@@ -7,6 +7,9 @@ on: ...@@ -7,6 +7,9 @@ on:
# Allow manual runs # Allow manual runs
workflow_dispatch: workflow_dispatch:
env:
NODE_LTS_VERSION: 18.16.1
jobs: jobs:
create-pull-request: create-pull-request:
runs-on: ubuntu-latest runs-on: ubuntu-latest
...@@ -18,6 +21,14 @@ jobs: ...@@ -18,6 +21,14 @@ jobs:
# See: https://docs.github.com/en/actions/security-guides/automatic-token-authentication#using-the-github_token-in-a-workflow # 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 }} 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 - name: Install dependencies
shell: bash shell: bash
run: pnpm i run: pnpm i
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment