Skip to content

Reorganize package.json #30

Reorganize package.json

Reorganize package.json #30

Workflow file for this run

name: Test
on:
push:
branches:
- main
pull_request:
branches:
- '*'
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version-file: 'package.json'
- name: Restore cache
uses: actions/cache@v3
with:
path: ~/.local/share/pnpm/store/v3
key: cache-pnpm-${{ hashFiles('./pnpn-lock.yaml') }}
restore-keys: cache-pnpm-
- name: Install dependencies
run: corepack enable && pnpm i
- name: Run test
run: pnpm test