migrated to pnpm

This commit is contained in:
Martin Berg Alstad 2023-07-30 14:20:43 +02:00 committed by GitHub
parent 1430f3685c
commit dd6b493830
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -20,15 +20,18 @@ jobs:
steps:
- uses: actions/checkout@v3
- uses: pnpm/action-setup@v2
with:
version: 8
- name: Use Node.js 18
uses: actions/setup-node@v3
with:
node-version: 18
cache: 'npm'
cache-dependency-path: '**/package-lock.json'
cache: 'pnpm'
cache-dependency-path: '**/pnpm-lock.yaml'
- name: Install
run: npm ci
run: pnpm i
- name: Build
run: npm run build --if-present
run: pnpm build
- name: Tests
run: npm test
run: pnpm test