Skip to content

Commit

Permalink
ci: Fix update-error-codes.yaml steps order
Browse files Browse the repository at this point in the history
  • Loading branch information
Clashsoft committed Feb 25, 2024
1 parent 4d16fc4 commit 70a80d6
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/update-error-codes.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ name: Update ERROR_CODES.md
on:
push:
paths:
- '.github/workflows/update-error-codes.yaml' # This file
- 'ERROR_CODES.md'
- 'framework/**/*.java'
- 'annotation-processor/**/*.java'
Expand All @@ -18,16 +19,16 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup pnpm
uses: pnpm/action-setup@v3
with:
version: 8
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: '20'
cache: pnpm
cache-dependency-path: scripts/pnpm-lock.yaml
- name: Setup pnpm
uses: pnpm/action-setup@v3
with:
version: 8
- name: Install Dependencies
run: pnpm install
- name: Run error-codes.js
Expand Down

0 comments on commit 70a80d6

Please sign in to comment.