Skip to content

Commit

Permalink
chore: add nodejs (#3987)
Browse files Browse the repository at this point in the history
(cherry picked from commit 2264248)
  • Loading branch information
karl-cardenas-coding committed Sep 18, 2024
1 parent 7d18877 commit 7efe976
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/api_format.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,12 @@ jobs:
with:
token: ${{ steps.import-secrets.outputs.VAULT_GITHUB_TOKEN }}

- name: Setup Node.js environment
uses: actions/setup-node@v4
with:
node-version: "20"
cache: "npm"

- name: Determine branch name
id: extract_branch
run: |
Expand All @@ -44,6 +50,8 @@ jobs:
echo "GITHUB_BRANCH=${{ github.ref_name }}" >> $GITHUB_ENV
fi
- run: npm ci

- name: Format API
run: make api

Expand Down

0 comments on commit 7efe976

Please sign in to comment.