Skip to content

Commit

Permalink
Remove use of wyvox action
Browse files Browse the repository at this point in the history
  • Loading branch information
bertdeblock committed Nov 18, 2024
1 parent 5f6e379 commit 1cb6b92
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 2 deletions.
19 changes: 19 additions & 0 deletions .github/actions/setup-environment/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Setup environment
description: Setup environment

inputs:
node-version:
default: "18"
description: Node version

runs:
using: composite

steps:
- uses: pnpm/action-setup@v4
- uses: actions/setup-node@v4
with:
cache: pnpm
node-version: ${{inputs.node-version}}
- run: pnpm install
shell: bash
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: wyvox/action-setup-pnpm@v3
- uses: ./.github/actions/setup-environment
- run: pnpm lint

test:
Expand All @@ -20,7 +20,7 @@ jobs:
runs-on: ${{matrix.os}}
steps:
- uses: actions/checkout@v4
- uses: wyvox/action-setup-pnpm@v3
- uses: ./.github/actions/setup-environment
with:
node-version: ${{matrix.node-version}}
- run: pnpm test:coverage
Expand Down

0 comments on commit 1cb6b92

Please sign in to comment.