Skip to content

Commit

Permalink
build(dev): bump deps, move to pnpm (#111)
Browse files Browse the repository at this point in the history
  • Loading branch information
DariuszPorowski authored Jul 12, 2024
1 parent 1e4b0b0 commit f66a9ad
Show file tree
Hide file tree
Showing 8 changed files with 4,148 additions and 7,871 deletions.
4 changes: 0 additions & 4 deletions .eslintignore

This file was deleted.

15 changes: 11 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,24 +78,31 @@ jobs:
- 'jest.config.js'
- 'tsconfig.json'
- name: 🚧 Install pnpm
if: ${{ steps.changes.outputs.app == 'true' }}
uses: pnpm/action-setup@v4
with:
version: 9
run_install: false

- name: 🚧 Setup Node
if: ${{ steps.changes.outputs.app == 'true' }}
uses: actions/setup-node@v4
with:
node-version-file: .node-version
cache: npm
cache: pnpm

- name: 🔀 Install dependencies
if: ${{ steps.changes.outputs.app == 'true' }}
run: npm ci
run: pnpm install --frozen-lockfile

- name: 🏗️ Build
if: ${{ steps.changes.outputs.app == 'true' }}
run: npm run build:ci
run: pnpm build:ci

- name: 🧪 Test
if: ${{ steps.changes.outputs.app == 'true' }}
run: npm run test:ci:cov
run: pnpm test:ci:cov
continue-on-error: true

- name: 📤 Upload test results
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/linter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@ on:
branches:
- main

permissions:
contents: read
pull-requests: read

jobs:
linter:
uses: raven-actions/.workflows/.github/workflows/__linter.yml@main
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -118,3 +118,4 @@ __tests__/runner/*
/dist
tests/*.js
/reports
.dev.*
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ repos:
# files: .pre-commit-config.yaml

- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.5.0
rev: v4.6.0
hooks:
- id: check-symlinks
- id: trailing-whitespace
Expand All @@ -40,7 +40,7 @@ repos:
exclude: package-lock.json

- repo: https://github.com/gitleaks/gitleaks
rev: v8.18.2
rev: v8.18.4
hooks:
- id: gitleaks
args:
Expand Down
Loading

0 comments on commit f66a9ad

Please sign in to comment.