Updated workflows.

This commit is contained in:
Mike Cao 2025-12-11 16:41:23 -08:00
parent 3eb2e890ef
commit 7729bbf4a7
3 changed files with 53 additions and 71 deletions

View file

@ -25,14 +25,19 @@ jobs:
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v2
with:
version: 8
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: 'yarn'
cache: 'pnpm'
env:
DATABASE_TYPE: ${{ matrix.db-type }}
- run: npm install --global yarn
- run: yarn install
- run: yarn test
- run: yarn build
- run: pnpm install
- run: pnpm test
- run: pnpm build