Skip to content

Commit

Permalink
chore: 🤖 move to matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
shaharkazaz committed Dec 19, 2024
1 parent 04f722a commit 3b5e1ab
Showing 1 changed file with 7 additions and 23 deletions.
30 changes: 7 additions & 23 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,12 @@ name: Keys Manager
on: [push, pull_request]

jobs:
build:
tasks:
strategy:
matrix:
task: [build, test]
runs-on: ubuntu-latest
name: ${{ matrix.task }}
steps:
- uses: actions/checkout@v4

Expand All @@ -21,25 +25,5 @@ jobs:
- name: Install dependencies
run: pnpm i

- name: Run build
run: pnpm build
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- name: Setup pnpm
uses: pnpm/action-setup@v4
with:
version: 9

- uses: actions/setup-node@v4
with:
node-version: '18'
cache: pnpm

- name: Install dependencies
run: pnpm i

- name: Run tests
run: pnpm test
- name: Run ${{ matrix.task }}
run: pnpm ${{ matrix.task }}

0 comments on commit 3b5e1ab

Please sign in to comment.