Skip to content

3.8.11

3.8.11 #69

Workflow file for this run

# From: https://github.com/wechat-miniprogram/api-typings/blob/9c691dd47158d9a029a68105c2378a3668874cf4/.github/workflows/test.yml
# Author: Mr.Hope <zhangbowang1998@gmail.com>
name: Test
on:
- push
- pull_request
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
persist-credentials: false
- name: restore node modules
uses: actions/cache@v4
id: node-modules-cache
with:
path: node_modules
key: ${{ runner.os }}-node-modules-${{ hashFiles('package-lock.json') }}
- name: Install Deps
if: steps.node-modules-cache.outputs.cache-hit != 'true'
run: npm ci
- name: Run test
run: npm run test