mirror of
https://github.com/dcarrillo/atalaya.git
synced 2026-07-23 17:05:45 +00:00
feat: migrate from npm to pnpm
This commit is contained in:
@@ -18,26 +18,31 @@ jobs:
|
||||
steps:
|
||||
- uses: actions/checkout@v6
|
||||
|
||||
- uses: pnpm/action-setup@v6
|
||||
name: Install pnpm
|
||||
with:
|
||||
version: 11
|
||||
cache: true
|
||||
cache_dependency_path: pnpm-lock.yaml
|
||||
|
||||
- name: Set up Node.js ${{ matrix.node-version }}
|
||||
uses: actions/setup-node@v6
|
||||
with:
|
||||
node-version: ${{ matrix.node-version }}
|
||||
cache: 'npm'
|
||||
cache-dependency-path: package-lock.json
|
||||
|
||||
- name: Install dependencies
|
||||
run: npm ci
|
||||
run: pnpm install --frozen-lockfile
|
||||
|
||||
- name: Run linters and type checking
|
||||
run: |
|
||||
npm run check
|
||||
npm run check:pages
|
||||
pnpm check
|
||||
pnpm check:pages
|
||||
|
||||
- name: Build status page
|
||||
run: npm run build:pages
|
||||
run: pnpm build:pages
|
||||
|
||||
- name: Run worker tests
|
||||
run: npm run test
|
||||
run: pnpm test
|
||||
|
||||
- name: Run status-page tests
|
||||
run: npm run test:pages
|
||||
run: pnpm test:pages
|
||||
|
||||
Reference in New Issue
Block a user