mirror of
https://github.com/movie-web/providers.git
synced 2025-09-13 13:53:34 +00:00
update deps, migrate to pnpm
This commit is contained in:
33
.github/workflows/tests.yml
vendored
33
.github/workflows/tests.yml
vendored
@@ -13,22 +13,27 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v3
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Install Node.js
|
||||
uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: 18
|
||||
- uses: pnpm/action-setup@v2
|
||||
with:
|
||||
version: 8
|
||||
|
||||
- name: Install packages
|
||||
run: npm install
|
||||
- name: Install Node.js
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: 20
|
||||
cache: "pnpm"
|
||||
|
||||
- name: Run tests
|
||||
run: npm run test
|
||||
- name: Install packages
|
||||
run: pnpm install --frozen-lockfile
|
||||
|
||||
- name: Run integration tests
|
||||
run: npm run build && npm run test:integration
|
||||
- name: Run tests
|
||||
run: pnpm run test
|
||||
|
||||
- name: Run linting
|
||||
run: npm run lint
|
||||
- name: Run integration tests
|
||||
run: pnpm run build && pnpm run test:integration
|
||||
|
||||
- name: Run linting
|
||||
run: pnpm run lint
|
||||
|
Reference in New Issue
Block a user