Skip to content

Commit

Permalink
Merge pull request #9 from jharlow/feat-workflow-use-pnpm
Browse files Browse the repository at this point in the history
feat: workflows use pnpm
  • Loading branch information
jharlow authored Oct 10, 2024
2 parents c22f168 + 0e018cb commit 9ff182f
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions .github/workflows/pr-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,17 +18,22 @@ jobs:
- uses: actions/checkout@v4
- name: Setup DynamoDB local
run: docker run -d -p 8000:8000 amazon/dynamodb-local:latest
- name: Install pnpm
uses: pnpm/action-setup@v4
with:
version: 9
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: "pnpm"
- name: Install packages
run: npm install
run: pnpm install
- name: Run build command
run: npm run build --if-present
run: pnpm build
- name: Run ESLint
run: npm run lint --if-present
run: pnpm lint
- name: Run test suite
run: npm run test run
run: pnpm test run
- name: Run 100% coverage check
run: npm run coverage
run: pnpm coverage

0 comments on commit 9ff182f

Please sign in to comment.