Skip to content

Commit

Permalink
chore: 🤖 move to pnpm (#212)
Browse files Browse the repository at this point in the history
  • Loading branch information
shaharkazaz authored Dec 19, 2024
1 parent f11ffff commit fcecad8
Show file tree
Hide file tree
Showing 5 changed files with 12,226 additions and 22,099 deletions.
36 changes: 17 additions & 19 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,35 +1,33 @@
name: Keys Manager

on: [push, pull_request]
on:
pull_request:
push:
branches:
- master

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

- uses: actions/setup-node@v4
- name: Setup pnpm
uses: pnpm/action-setup@v4
with:
node-version: '18'
cache: npm

- name: Install dependencies
run: npm ci

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

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

- name: Install dependencies
run: npm ci
run: pnpm i

- name: Run tests
run: npm run test
- name: Run ${{ matrix.task }}
run: pnpm ${{ matrix.task }}
2 changes: 1 addition & 1 deletion .lintstagedrc
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"*.{ts,js}": ["prettier --write"]
"*.{ts,js,json,yml}": ["prettier --write"]
}
Loading

0 comments on commit fcecad8

Please sign in to comment.