Skip to content

Commit

Permalink
install dependencies in workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
Ellpeck committed Mar 5, 2024
1 parent 34fed95 commit 205762f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,12 @@ jobs:
steps:
- name: "Checkout Repository"
uses: actions/checkout@v4
- name: Install Node
- name: Install node
uses: actions/setup-node@v4
with:
node-version: 21.6.x
registry-url: 'https://registry.npmjs.org/'
- name: Install dependencies
run: npm ci
- name: Lint
run: npm run lint
4 changes: 3 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,12 @@ jobs:
steps:
- name: "Checkout Repository"
uses: actions/checkout@v4
- name: Install Node
- name: Install node
uses: actions/setup-node@v4
with:
node-version: 21.6.x
registry-url: 'https://registry.npmjs.org/'
- name: Install dependencies
run: npm ci
- name: Test
run: npm run test

0 comments on commit 205762f

Please sign in to comment.