Skip to content

server/src/pages/api/m/[moduleName]: dont cache it #24

server/src/pages/api/m/[moduleName]: dont cache it

server/src/pages/api/m/[moduleName]: dont cache it #24

Workflow file for this run

name: CI
on:
push:
jobs:
ci:
timeout-minutes: 30
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: actions/setup-node@v3
with:
node-version: 18
registry-url: https://registry.npmjs.org/
- name: Cache pnpm modules
uses: actions/cache@v3
with:
path: ~/pnpm
key: ${{ runner.os }}-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-
# setup pnpm
- uses: pnpm/action-setup@v2
with:
version: 7
run_install: false
# scripts
- run: pnpm i --store-dir ~/pnpm
- run: pnpm build
- run: pnpm test