Skip to content

Commit

Permalink
fix GH action
Browse files Browse the repository at this point in the history
  • Loading branch information
peppescg committed Dec 16, 2024
1 parent 8743976 commit db07079
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 29 deletions.
28 changes: 0 additions & 28 deletions .github/action/setup.yml

This file was deleted.

19 changes: 19 additions & 0 deletions .github/workflows/setup.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: "Setup Action"

on:
workflow_call:

jobs:
setup:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4

- name: Set up Node.js
uses: actions/setup-node@23755b521f87533c8ed7f8fb13674f9021579e34 # v4
with:
node-version: "22"

- name: Install dependencies
run: npm ci
2 changes: 1 addition & 1 deletion .github/workflows/static-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ on:
jobs:
setup:
name: Setup Dependencies
uses: ./.github/action/setup.yml
uses: ./.github/workflows/setup.yml

lint:
name: ESLint Check
Expand Down

0 comments on commit db07079

Please sign in to comment.