Skip to content

Commit

Permalink
Merge pull request #330 from Shramkoweb/build/pnpm-migration
Browse files Browse the repository at this point in the history
build: move to pnpm
  • Loading branch information
Shramkoweb committed Jun 16, 2024
2 parents fcc2115 + 1e952fc commit 0532310
Show file tree
Hide file tree
Showing 5 changed files with 8,965 additions and 26,231 deletions.
15 changes: 9 additions & 6 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,17 @@ jobs:
matrix:
node-version: [ 20.x ]
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
with:
version: 9
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- name: npm install, build
run: npm ci
cache: 'pnpm'
- name: Install
run: pnpm i
env:
CI: true
- name: Run linter
run: npm run lint
run: pnpm lint
19 changes: 11 additions & 8 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,21 +9,24 @@ jobs:
matrix:
node-version: [ 20.x ]
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
with:
version: 9
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- name: npm install, build
run: npm ci
cache: 'pnpm'
- name: Install
run: pnpm i
env:
CI: true
- name: run tests
run: npm run test:ci
- name: Run tests
run: pnpm run test:ci
- name: code coverage
uses: paambaati/codeclimate-action@v3.0.0
env:
CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }}
with:
coverageCommand: npm run test:coverage
coverageCommand: pnpm run test:coverage
debug: true
Loading

0 comments on commit 0532310

Please sign in to comment.