Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

deps: update #76

Merged
merged 9 commits into from
Jan 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 32 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,41 @@ name: Tests
on: [push, pull_request]

jobs:
unit:
pnpm:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: ['14', '16', '18']
node-version: ['18']
steps:
- name: Clone repository
uses: actions/checkout@v3
- uses: pnpm/action-setup@v2
with:
version: 8
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: 'pnpm'
- name: Install dependencies
run: pnpm install
- name: Setup pokeapi/api-data
run: |
pnpm run apidata:clone
pnpm run apidata:replace
- name: Build
run: |
pnpm run generate:types
pnpm run generate:main
pnpm run generate:jsdocs
- name: Unit test
run: |
pnpm t
npm:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: ['18', '20']
steps:
- name: Clone repository
uses: actions/checkout@v2
Expand Down
Loading
Loading